www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 align Property
ALIGN Attribute | align Property

Sets or retrieves the alignment of the caption or legend.

Syntax

HTML<ELEMENT ALIGN = sAlign... >
Scripting[ sAlign = ] object.align

Possible Values

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

Standards Information

This property is deprecated in HTML World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

CAPTION, LEGEND
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG