- Description
Sets the horizontal alignment of text within an element.
See also:
- Live Example
- Play with the code in the textarea below.
- Values
- center, justify, left, right
- Default value
- left
- Introduced in CSS version
- 1
- Applies to elements
- Block level elements
- Inherited
- Yes
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties