style.posWidth (Property)

A measurement unit independent size control property.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyStyle.posWidth
CSS syntax:pos-width: aWidth
Argument list:aWidthA sizing value

Although this is a read and write property, it is most likely to be useful for measuring the width of an object to get a numeric value without the trailing measurement unit suffix that you get when enquiring the style.width value.

The value in this property will be an integer defined in CSS attribute defined measurement units only. Refer to the style.pixelWidth property for a more specialized value that can be operated on unambiguously using pixel values.

See also:Measurement units, style.pixelWidth, style.posHeight, style.width