Sets or retrieves the alignment of the caption or legend.
dhtml语法
HTML | <ELEMENT ALIGN
= sAlign... >
|
---|
Scripting | object.align [ = sAlign ] |
---|
DHTML可能的值
sAlign | String that
specifies or receives 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.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about 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 with the table border.
是否符合公共标准
This property is deprecated in
HTML and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To