Defines the alignment of the element.
Platform Support
| IE | Netscape | Mozilla | Opera | Safari | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
|---|
Values
| absbottom | Aligns the element with the absolute bottom of the container element. |
| absmiddle | Aligns the element with the absolute middle of the container element. |
| baseline | Aligns the element with the baseline of the surrounding text or sibling element. |
| bottom | Aligns the element with the bottom of the surrounding text or sibling element. |
| center | Aligns the element with the center of the surrounding text or sibling element. |
| justify | Justifies the right margin of the text. |
| left | Aligns the element at the left side of the container element. |
| middle | Aligns the element with the middle the container element. |
| right | Aligns the element at the right side of the container element. |
| texttop | Aligns the element with the top of the surrounding text. |
| top | Aligns the element at the top of the container element. |
Availability
W3C HTML 4.01
