javascript IMG height, width
| height, width | NN 3 IE 4 DOM 1 |
| Read/Write (IE and Netscape 6) | |
|
Provide the height and width in pixels of the image rendered in the img element. Changes to these values are immediately reflected in reflowed content on the page in Internet Explorer 4 (or later) and Netscape 6. Be aware that images scale to fit the new dimension. |
|
| Example | |
document.prettyPicture.height = 250; |
|
| Value | |
Integer. |
|
| Default | |
None. |
|
Previous: javascript IMG href
Next: javascript IMG focus( )
983,Nickname,Homepage or email,Comments here,Add comment
