Reeebeckah
05-31-2005, 05:33 AM
I need help getting my index code to have the image as the background with positioning for the main body and the right side news section, what did I do wrong with the below code for my index page?:
<div style="position: relative; left: 30px; top: 55px; height: 315px; width: 400px;"><IFRAME name="body" src="home.html" width=400 height=315 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<div style="position: relative; left: 440px; top: 50px; height: 295px; width: 200px;><IFRAME name="news" src="news.html" width=200 height=295 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<center><img src="http://www.geocities.com/simlishmall/storetest1.gif">
any help would be appreciated!
-Rebeckah
*** edit ***
Okay I've changed the code to be as follows:
<body bgcolor=E6ECFF>
<IFRAME name="body" src="home.html" width=400 height=315; scrolling=auto; position:absolute; left:300px; top:55px;"></IFRAME>
<IFRAME name="news" src="news.html" width=200 height=295; scrolling=auto position:absolute; left:440px; top:50px;"></IFRAME>
<center><img src="http://www.geocities.com/simlishmall/storetest1.gif">
but why isn't it overlapping my image? I haven't messed with layers and such for years so I can't figuire it out, any ideas?
-Rebeckah
check out the problem: http://www.geocities.com/simlishmall
<div style="position: relative; left: 30px; top: 55px; height: 315px; width: 400px;"><IFRAME name="body" src="home.html" width=400 height=315 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<div style="position: relative; left: 440px; top: 50px; height: 295px; width: 200px;><IFRAME name="news" src="news.html" width=200 height=295 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<center><img src="http://www.geocities.com/simlishmall/storetest1.gif">
any help would be appreciated!
-Rebeckah
*** edit ***
Okay I've changed the code to be as follows:
<body bgcolor=E6ECFF>
<IFRAME name="body" src="home.html" width=400 height=315; scrolling=auto; position:absolute; left:300px; top:55px;"></IFRAME>
<IFRAME name="news" src="news.html" width=200 height=295; scrolling=auto position:absolute; left:440px; top:50px;"></IFRAME>
<center><img src="http://www.geocities.com/simlishmall/storetest1.gif">
but why isn't it overlapping my image? I haven't messed with layers and such for years so I can't figuire it out, any ideas?
-Rebeckah
check out the problem: http://www.geocities.com/simlishmall