text-align

Support Key: CSS1 | CSS2 | IE3B1 | N4B2 | O3.5
Other Text Properties
word-spacing
letter-spacing
white-space
text-decoration
text-transform
text-shadow
text-indent
= Index DOT Css by Brian Wilson [bloo@blooberry.com] =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
Dependent on browser defaults and language direction
Applicable Elements:
Block-level elements
Inherit From Parent:
Yes
Applicable Media:
Visual
HTML Equivalent:
<center> | <p|hX|div|table|thead|tbody|tfoot|tr|th|td ALIGN="value">
What is it?
This property details how text will be horizontally aligned within the current element.

Allowed Values
inherit
CSS2
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
left
CSS1 | CSS2 | IE3B1 | N4B2 | O3.5
Type: Explicit
Description:
Left aligns all text in the current element.
right
CSS1 | CSS2 | IE3B1 | N4B2 | O3.5
Type: Explicit
Description:
Right aligns all text in the current element.
center
CSS1 | CSS2 | IE3B1 | N4B2 | O3.5
Type: Explicit
Description:
Center aligns all text in the current element.
justify
CSS1 | CSS2 | IE4B2 | N4B2 | O3.5
Type: Explicit
Description:
Applies double text justification to all text content in the current element.
[string]
CSS2
Type: Calculated
Description:
Specifies a string around which cells in a table column will align. Only applies to table cells. If used for other element types, it will be treated as as "left" or "right" depending on the current language writing direction ("left" for English.)
Example
Ext/Doc: blockquote { text-align: justify }
In-Line:  <blockquote STYLE="text-align: justify">this
blockquote text is double justified</blockquote>
Notes Browser Peculiarities

Boring Copyright Stuff....