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