javascript STYLE maxHeight, maxWidth, minHeight, minWidth

maxHeight, maxWidth, minHeight, minWidth NN 6 IE (See text) DOM 2  

 

Read/Write  

Define loose heights and widths for an element so that, for "max" properties, an element is allowed to grow no bigger in the designated dimension, or, for "min" properties, an element can expand in the designated dimension to accommodate more than expected content or rendering situations. Although the property is available for IE 5 Macintosh and Netscape 6, it is either ignored (IE 5 for Mac) or buggy (Netscape 6). IE 6 for Windows supports only the minWidth property, and it can be used only for tr, th, and td elements.

 
Value

CSS length value as a string.

 
Default

None.


1872,Nickname,Homepage or email,Comments here,Add comment