ForevaLili327
02-14-2003, 07:36 PM
I made I-frames and I want another I-frame on the same page, but the other I-frame is ALWAYS right next to the left of the other I frame even when I try to position it it won't work!!it just stays right next to it...How would I fix this?? Please help!
Andyman
02-16-2003, 01:13 AM
um..maybe you can add a <br> tag after the first frame? I'm not exactly sure.
MaGiCSuN
02-16-2003, 12:02 PM
add this in both <iframe> codes and you willl be able to position it everywhere on the page:
style="position: absolute; left: #px; top: #px; width: #px; height: #px"
or the second option is this:
<div style="position: absolute; left: #px; top: #px; width: #px; height: #px">
<iframe code here>
</div>
Now you are able to position them anywhere on the page where you want them to be. Offcourse you have to change all the # to the numbers of your choice. The height and width arefrom the iframe itself, it's better to fill them in.
Love,
Mirna
ForevaLili327
02-16-2003, 10:45 PM
Sigh..it still doesn't work if you want to see it go to www.geocities.com/lil_lili_li/index.htm and here is the script
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<body background="Tropicallayout.gif">
</head>
<body>
<div align style="position: absolute; left: 120; top: 195px; width:400; height:105">
<iframe src="Menu.html" width="102" height="115" border="0" frameborder="0 allowtransparency="true">
<div style="position: absolute; left: 300px; top: 20px; width: 40px; height: #px">
<iframe src="Inline.html" width="102" height="115" border="0" frameborder="0 allowtransparency="true">
</div>
<body>
</body>
</html>
bejayel
02-16-2003, 10:56 PM
try changing a few things. you put in an align where it isnt needed and... well just look.
<html>
<head>
<body background="Tropicallayout.gif">
</head>
<body>
<div style="position: absolute; left: 120; top: 195px;">
<iframe src="Menu.html" width="102" height="115" border="0" frameborder="0" allowtransparency="true"></iframe>
</div>
<div style="position: absolute; left: 300px; top: 20px;">
<iframe src="Inline.html" width="102" height="115" border="0" frameborder="0" allowtransparency="true"></iframe>
</div>
</body>
</html>
you had some things that you didnt need. also you dont need to set heights for your divs unless you want to span some things. Also you had the <body> tag twice...
ForevaLili327
02-17-2003, 12:42 AM
Thank you so much! The problem is fixed now!