textAligntextAlign*
*



Contents  *



Index  *Topic Contents
*Previous Topic: text
*Next Topic: textDecoration

textAlign

Description

Sets or retrieves whether text is left-aligned, right-aligned, centered, or justified.

Syntax

object.style.textAlign[ = textAlign]

Remarks

Values are left, right, center, or justify. Full justification is new to Internet Explorer 4.0 and sets contents aligned at both right and left margins.

The property has read/write permission.

Applies To

HTML Tags BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, TABLE, TD, TH, TR, UL, XMP
Scripting style

CSS Attribute

text-align


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.