Posts: 175
Location: Wiltshire, England
|
Hi There,
Just had a quick play with this. Try this for your main page html:
HTML Code:
<html>
<head>
<link href="pd.css" rel="stylesheet" type="text/css">
<title>Gone For Now</title>
</head>
<body>
<div id="container">
<div id="top"><img src="images/mischalayout.jpg"></div>
<div id="frame">
<Iframe src="indexx.htm" width="398px" height="1000px" allowtransparency="true" frameborder="no"></iframe>
</div>
</div>
</body>
</html>
And this for your main page css
HTML Code:
body { text-align:center; margin:0px; padding:0px; background: url(images/pgbg1.jpg); }
#container { width:650px; margin-left:auto; margin-right:auto; background: url(images/bg.jpg); text-align:center;}
#top {width:650px;}
#frame {width:400px; border:2px solid #000000; margin-left:auto; margin-right:auto; }
I haven't played around with the css for your iframe and you may need to adjust the url for the images as I played with them on my own machine. Also, the border around the frame div has only been added so you can see where it is, obviously you can remove this from the css file.
Hope this helps
Regards
Ian
__________________
Found this useful? - HIT MY TALKUPATION!
Please login or register to view this content. Registration is FREE
Last edited by celticbrue; 05-16-2005 at 04:14 AM..
|