Sets or retrieves the alignment of the object relative to the display or table.
Syntax
HTML <ELEMENT ALIGN = sAlign ... > Scripting object.align [ = sAlign ]
Possible Values
sAlign String that specifies one of the following values:
center Aligns to the center. justify Aligns to the left and right edge. left Aligns to the left edge. right Aligns to the right edge. The property is read/write with a default value of left.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
The default value for the TH element is center.
The justify possible value is available only for the DIV, Hn, and P elements.
Applies To
COL, COLGROUP, DIV, Hn, HR, P, TBODY, TD, TFOOT, TH, THEAD, TR