Dafydd
09-28-2007, 10:32 PM
I'm wondering something about frames. Is it possible to have a frame entirely encompass another frame, like so:
http://www.ngst.nu/frameinframe.png
Or must it be done like this: dividing things into frame 1, 2, and 6, and then dividing frame 2 into frame 3, 4 and 5?
http://www.ngst.nu/frames.png
I'm wondering because I want an evenly gradient image as a backgroud in the purple field, and I want the image to resize itself to cover the whole window's background...
EDIT: Hm, I guess floating frames will do the job. Or won't they?
EDIT 2: Ok, this is the code I made, but the middle frame won't show up. Why?
<html>
<head>
<title>Stay Ali</title>
<meta name="keywords" content="Stay Ali, stay, ali"/>
<meta name="description" content="Stay Ali"/>
</head>
<body>
<div style="width:100%; position:absolute; left:0px; top:0px;">
<img src="bgr.jpg" style="width:100%;">
</div>
<iframe src="main.html" width="750" height="80%" align="middle">
</iframe>
</body>
</html>
http://www.ngst.nu/frameinframe.png
Or must it be done like this: dividing things into frame 1, 2, and 6, and then dividing frame 2 into frame 3, 4 and 5?
http://www.ngst.nu/frames.png
I'm wondering because I want an evenly gradient image as a backgroud in the purple field, and I want the image to resize itself to cover the whole window's background...
EDIT: Hm, I guess floating frames will do the job. Or won't they?
EDIT 2: Ok, this is the code I made, but the middle frame won't show up. Why?
<html>
<head>
<title>Stay Ali</title>
<meta name="keywords" content="Stay Ali, stay, ali"/>
<meta name="description" content="Stay Ali"/>
</head>
<body>
<div style="width:100%; position:absolute; left:0px; top:0px;">
<img src="bgr.jpg" style="width:100%;">
</div>
<iframe src="main.html" width="750" height="80%" align="middle">
</iframe>
</body>
</html>