Help with iframe resizing to various screen dimensions
Hello everyone.
If my member name didn't give away my level of sophistication, then I will restate the obvious... I am bordering on retard level with HTML amongst other things.
I am not certain if this is the right thread, and/or forum for this but any help would be appreciated.
I am trying to resize an <iframe> to fit between other fixed tables or areas. and while I can figure this out with set pixel heights for all the other elements, I am also wanting it the body to resize to 100% of screen dimensions.
In other words I am trying to allow the <iframe> to resize according to screen dimensions and place it between fixed elements and I would like for only the iframe to scroll.
This is the base for what I am trying to do:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="width:1024px; height:100%; line-height:175%; margin:auto; font-family:Verdana, Geneva, sans-serif; font-size:13px; background:#003; color:#CCC; overflow-style:marquee-block;">
<!--header--><table width="100%" height="125" bgcolor="#003366" style="margin-top:0px; border-collapse:collapse;"></table>
<!--Menu--><table width="100%" height="30" bgcolor="#006699" style="margin-top:10px; border-collapse:collapse;"></table>
<!--Framed Content--><table width="100%" height="100%" bgcolor="#003366" style="margin-top:10px; border-collapse:collapse;">
<div style="margin-left:10px;">
<iframe src="http://www.ikea.se" width="1002" height="100%" scrolling="yes" style="border-radius: 0.3em 0.3em 0.3em 0.3em; border-collapse:collapse; margin-top:10px; position:relative"></iframe>
</div>
</table>
<!--footer--><table height="50px" width="1024" bgcolor="#006699"></table>
</body>
</html>
Obviously the "IKEA" site is just for example purposes.
Thanks in advance, even if it directions towards a more appropriate forum.
/Capt :o