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