pixelWidthpixelWidth*
*Contents  *Index  *Topic Contents
*Previous Topic: pixelTop
*Next Topic: platform

pixelWidth

Description

Sets or retrieves the width of the element, in pixels. Unlike the width property, this property's value is an integer, not a string, and is always interpreted in pixels.

Syntax

object.pixelWidth[ = pixelWidth]

Settings

This read-write property can be any integer value. Setting this property changes the value of the height without changing the units designator.

Remarks

For more information on 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

style

CSS Attribute

width

See Also

posWidth


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