vertical-align

Specifies the vertical alignment property for the element.

Platform Support

IENetscapeMozillaOperaSafari
4.0+4.0+1.0+4.0+1.0+

Usage

Example values: 14px, 2cm, 10%, baseline, etc.

Values

*Specify a value for vertical-align that is not on this list.
inheritInherit the value from the parent element.
baselineAlign with the baseline of the containing element.
subAlign as subscript.
superAlign as superscript.
topAlign with the top of the tallest element.
text-topAlign with the top of the text of the containing element.
middleAlign with the middle of the containing element.
text-bottomAlign with the bottom of the text of the containing element.

Remarks

You can also specify a fixed pixel or percentage value for vertical-align.

Availability

W3C CSS2

Related

text_css aptana_docs