Sets or retrieves the alignment of the caption or legend.
Syntax
HTML <ELEMENT ALIGN = sAlign ... > Scripting object.align [ = sAlign ]
Possible Values
sAlign String that specifies one of the following values:
bottom Aligns bottom-center. center Aligns center. left Aligns left. right Aligns right. top Aligns top-center. The property is read/write with no default value.
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 LEGEND tag is used only within a FIELDSET tag. The contents of the LEGEND tag are displayed by overwriting the information in the top border of the FIELDSET.
The CAPTION tag is used only within a TABLE tag. Its contents are displayed centered above the table and do not interact at all with the table border.
Applies To