center te4xt vertically isnide an element code example Example: vertical align text inside div text { line-height: 100px; /*size of parent div*/ }