![]() ![]() Īligns the baseline of the element to the given percentage above the baseline of its parent, with the value being a percentage of the line-height property. ![]() Īligns the baseline of the element to the given length above the baseline of its parent. middleĪligns the middle of the element with the baseline plus half the x-height of the parent. text-bottomĪligns the bottom of the element with the bottom of the parent element's font. text-topĪligns the top of the element with the top of the parent element's font. superĪligns the baseline of the element with the superscript-baseline of its parent. subĪligns the baseline of the element with the subscript-baseline of its parent. The baseline of some replaced elements, like, is not specified by the HTML specification, meaning that their behavior with this keyword may vary between browsers. These values vertically align the element relative to its parent element: baselineĪligns the baseline of the element with the baseline of its parent. Values for inline elements Parent-relative values ![]() The vertical-align property is specified as one of the values listed below. * Keyword values */ vertical-align : baseline vertical-align : sub vertical-align : super vertical-align : text-top vertical-align : text-bottom vertical-align : middle vertical-align : top vertical-align : bottom /* values */ vertical-align : 10em vertical-align : 4px /* values */ vertical-align : 20% /* Global values */ vertical-align : inherit vertical-align : initial vertical-align : revert vertical-align : unset ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |