align

Defines the alignment of the element.

Platform Support

IENetscapeMozillaOperaSafari
2.0+1.0+1.0+4.0+1.0+

Values

absbottomAligns the element with the absolute bottom of the container element.
absmiddleAligns the element with the absolute middle of the container element.
baselineAligns the element with the baseline of the surrounding text or sibling element.
bottomAligns the element with the bottom of the surrounding text or sibling element.
centerAligns the element with the center of the surrounding text or sibling element.
justifyJustifies the right margin of the text.
leftAligns the element at the left side of the container element.
middleAligns the element with the middle the container element.
rightAligns the element at the right side of the container element.
texttopAligns the element with the top of the surrounding text.
topAligns the element at the top of the container element.

Availability

W3C HTML 4.01

Related

text_html aptana_docs