DHTML Lab - dhtmlab.com - IE4 / IE5 Rendering Differences | 3 | WebReference

DHTML Lab - dhtmlab.com - IE4 / IE5 Rendering Differences | 3

Logo

IE4 / IE5 Rendering Differences
IFRAME object width


Author Intent

To display an IFRAME object that has a total width and height of an author-specified value.
In our example, these values are 200 pixels and 100 pixels. This IFRAME will display scrollbars if its content exceeds the allotted screen space. Conditional scrollbar display is enabled through the CSS overflow property.

HTML

<IFRAME SRC="somepage.html"
        WIDTH=200 HEIGHT=100 STYLE="overflow:scroll"></IFRAME>
or
<IFRAME SRC="somepage.html"
        STYLE="width:200;height:100;overflow:scroll"></IFRAME>

Your Browser Result (Live)

 <-- 200 pixels --> 
^
100
px
v