vertical middle text in div code example Example: vertical align text inside div text { line-height: 100px; /*size of parent div*/ }