PRE.width (Property)

The width of a block of pre-formatted text.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myPRE.width

This width value has a an upper range limit of 100, which represents 100% of the available width of the screen. This is not the usual percentage width of its parent containing element.