Description

Sets the horizontal alignment of text within an element.

Example

 p{text-align:right;}

Values
center, justify, left, right
Introduced in CSS version
1
Applies to elements
Block level elements
Inherited
Yes
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties