Abakada CSS Demo: vertical-align Attribute


The vertical-align attribute is used to get or set the vertical positioning of an object. This example shows the effects of applying the different values possible for the CSS vertical-align style attribute to align text within a table cell. Select from the vertical-align options below to see how the style is applied, and note the resulting CSS syntax for the style declaration.
td { vertical-align: }
Options

NOTE: The values sub and super apply only to inline text. The other values apply to block elements that support the VALIGN style attribute.


View Source   Exit

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.