leftleft*
*Contents  *Index  *Topic Contents
*Previous Topic: lastModified
*Next Topic: leftMargin

left

Description

Sets or retrieves the position of the element relative to the left edge of the document.

Syntax

object.style.left[ = left]

Remarks

The value of this read/write property is a string consisting of a floating-point number and a units designator, as described for cascading style sheets.

For more information about how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.

Applies To

HTML Tags A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, CENTER, CITE, CODE, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, I, IFRAME, IMG, INPUT, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TEXTAREA, TT, U, UL, VAR, XMP
Scripting style

CSS Attribute

left

See Also

pixelLeft, posLeft


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