stmasi
06-05-2003, 05:50 PM
Is there any way to set the size of a DIV or the size of an IFRAME based on the viewable area of the user agent?
The size of the DIV is set in the CSS and the size of the IFRAME is set in the HTML.
Something like this...
<iframe height="[(document.documentElement)?document.documentElement.offsetHeight:document.body.clientHeight;] width="[(document.documentElement)?document.documentElement.offsetWidth:document.body.clientWidth;] name="body">
etc., etc., etc.
The size of the DIV is set in the CSS and the size of the IFRAME is set in the HTML.
Something like this...
<iframe height="[(document.documentElement)?document.documentElement.offsetHeight:document.body.clientHeight;] width="[(document.documentElement)?document.documentElement.offsetWidth:document.body.clientWidth;] name="body">
etc., etc., etc.