Click to return to the DHTML, HTML     
ALIGN Attribute | align P...     ALIGN Attribute | align P...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

ALIGN Attribute | align Property


Sets or retrieves the alignment of the caption or legend.

Syntax

HTML<ELEMENT ALIGN = sAlign ... >
Scriptingobject.align [ = sAlign ]

Possible Values

sAlign String that specifies one of the following values:
bottomAligns bottom-center.
centerAligns center.
leftAligns left.
rightAligns right.
topAligns 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

CAPTION, LEGEND



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.