text-align

Previous- text-transform  |  Next-text-indent

Description

The text-align property can be applied to block-level elements (P, H1, etc.) to give the alignment of the element's text. This property is similar in function to HTML's ALIGN attribute on paragraphs, headings, and divisions.


Initial Value : determined by browser

Applies to : block-level elements

Inherited : yes

Possible Values
left | right | center | justify | <string> | inherit

Example(s)
div.center { text-align: center }

Previous- text-transform  |  Next-text-indent