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