Name
HEIGHT, WIDTH — NN n/a IE 4 HTML n/a
Synopsis
HEIGHT=”length" WIDTH=”length"
Optional
Microsoft HTML documentation for IE 4 says that the
HEIGHT and WIDTH attributes
control the size of a IFRAME element. The
attributes are recognized in IE 4 for Windows, but not for the
Macintosh. Moreover, these attributes are not recognized as
scriptable properties—often a sign that the attributes are not
genuinely supported. Use these attributes at your own risk. Instead,
you can rely on style sheet positioning (using relative positioning)
to set the height and width of the element in all operating system
platforms.
Example
<IFRAME SRC="nav.html" HEIGHT=200 WIDTH=200>
Value
Any length value in pixels or percentage of available space.
Default
A width of 300 pixels; a height of 150 pixels.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access