Name
height, width — NN 3 IE 4 DOM 1
Synopsis
Read/Write (IE)
The height and width in pixels of the image element. Changes to these values are immediately reflected in reflowed content on the page in Internet Explorer 4. Be aware that images scale to fit the new dimension.
Example
document.prettyPicture.height = 250
Value
Integer.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.