kimmy
03-14-2003, 05:53 PM
Right I've got to make this site for some it project I've done it by slicing up an iamge into three parts and fading the middle of the image and putting them together using divs. I've then put an in-frame on the div containing the middle of the image and made it transparent I think! but the inframe is coming out down the bottom and the image on the same div is in the right place? could you try look at the code I'm using and see if theres something wrong with it?
Index page, I havent bothered put the css
<div style="position:absolute; top:10; left:100; width:820; height:173; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="TOP2.GIF" BORDER="0"></DIV>
<div style="position:absolute; top:109; left:100; width:822; height:20; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;">DREAMS COME TRUE DREAMS COME TRUE DREAMS COME TRUE DREAMS COME TRUE... <a href="diving.html" target="1">DIVING</A> <A HREF="SPOIL.html" TARGET="1">SPOIL YOURSELF</A> <A HREF="WATER.html" TARGET="1">WATERSPORTS</A> <A HREF="FLIGHT.html" TARGET="1">FLIGHT</A> </DIV>
<div style="position:absolute; top:182; left:100; width:820; height:523; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="MIDDLE2.GIF" BORDER="0"><iframe src="MAIN.html" name="1" width="800" height="400" border=0 frameborder=0 framespacing=0 ALLOWTRANSPARENCY="true"
></iframe>
</DIV>
<div style="position:absolute; top:704; left:100; width:822; height:108; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="BOTTOM2.GIF" BORDER="0"></DIV>
page that goes in the inframe
<HTML>
<HEAD>
<TITLE>Dreams Come True</TITLE>
<style type="text/css">
<!--
A:link
{ text-decoration: none; font-weight:bold; color:#CCCCCC}
A:visited
{ text-decoration: none; font-weight:bold; color:#CCCCCC}
A:active
{ text-decoration: none; font-weight:bold; color:#CCCCCC }
A:hover
{ text-decoration: none; font-weight:bold; color:#CCCCCC;
cursor: s-resize }
body
{
font-family: verdana;
color: #000000 ;
font-size: 8 pt; }
td
{ font-family: tahoma;
color: #000000}
input, textarea
{ color: ff0088;
background:ffffff;
font-size: 11px;
font-weight: regular;
text-decoration: none;
font-family: Tahoma;
text-align: lest;
border-width: 1px;
border-style: dashed;
border-color: ff0088; }
-->
</style>
<STYLE type="text/css">
<!--
BODY
{
direction:;
background-attachment:fixed;
scrollbar-arrow-color: 000000;
scrollbar-track-color: ffffff;
scrollbar-face-color: ffffff;
scrollbar-highlight-color: ffffff;
scrollbar-3dlight-color: ffffff;
scrollbar-darkshadow-color: ffffff;
scrollbar-shadow-color: ffffff;
}
-->
</STYLE>
<style type="text/css">
<!--
body { background-color: transparent; }
--!>
</style>
</HEAD>
<BODY STYLE="background-color:transparent">
<CENTER><B>WELCOME TO DREAMS COME TRUE BLAH BLAH BLAH</B></CENTER>
<BR>
<BR>
To navigate use the links above labeled 'DIVING', 'SPOIL YOURSELF', 'WATERSPORTS' and 'FLIGHT'
</BODY>
</HTML>
Thankyou for any help Im getting really fustrated
Oh and heres a screen dump of the problem, I've put a red circle around the frame thats in the wrong place
http://www.sugar-pop.net/alanna/DUMP.gif
Index page, I havent bothered put the css
<div style="position:absolute; top:10; left:100; width:820; height:173; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="TOP2.GIF" BORDER="0"></DIV>
<div style="position:absolute; top:109; left:100; width:822; height:20; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;">DREAMS COME TRUE DREAMS COME TRUE DREAMS COME TRUE DREAMS COME TRUE... <a href="diving.html" target="1">DIVING</A> <A HREF="SPOIL.html" TARGET="1">SPOIL YOURSELF</A> <A HREF="WATER.html" TARGET="1">WATERSPORTS</A> <A HREF="FLIGHT.html" TARGET="1">FLIGHT</A> </DIV>
<div style="position:absolute; top:182; left:100; width:820; height:523; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="MIDDLE2.GIF" BORDER="0"><iframe src="MAIN.html" name="1" width="800" height="400" border=0 frameborder=0 framespacing=0 ALLOWTRANSPARENCY="true"
></iframe>
</DIV>
<div style="position:absolute; top:704; left:100; width:822; height:108; background:#ffffff;
border-color:000000;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;"><IMG SRC="BOTTOM2.GIF" BORDER="0"></DIV>
page that goes in the inframe
<HTML>
<HEAD>
<TITLE>Dreams Come True</TITLE>
<style type="text/css">
<!--
A:link
{ text-decoration: none; font-weight:bold; color:#CCCCCC}
A:visited
{ text-decoration: none; font-weight:bold; color:#CCCCCC}
A:active
{ text-decoration: none; font-weight:bold; color:#CCCCCC }
A:hover
{ text-decoration: none; font-weight:bold; color:#CCCCCC;
cursor: s-resize }
body
{
font-family: verdana;
color: #000000 ;
font-size: 8 pt; }
td
{ font-family: tahoma;
color: #000000}
input, textarea
{ color: ff0088;
background:ffffff;
font-size: 11px;
font-weight: regular;
text-decoration: none;
font-family: Tahoma;
text-align: lest;
border-width: 1px;
border-style: dashed;
border-color: ff0088; }
-->
</style>
<STYLE type="text/css">
<!--
BODY
{
direction:;
background-attachment:fixed;
scrollbar-arrow-color: 000000;
scrollbar-track-color: ffffff;
scrollbar-face-color: ffffff;
scrollbar-highlight-color: ffffff;
scrollbar-3dlight-color: ffffff;
scrollbar-darkshadow-color: ffffff;
scrollbar-shadow-color: ffffff;
}
-->
</STYLE>
<style type="text/css">
<!--
body { background-color: transparent; }
--!>
</style>
</HEAD>
<BODY STYLE="background-color:transparent">
<CENTER><B>WELCOME TO DREAMS COME TRUE BLAH BLAH BLAH</B></CENTER>
<BR>
<BR>
To navigate use the links above labeled 'DIVING', 'SPOIL YOURSELF', 'WATERSPORTS' and 'FLIGHT'
</BODY>
</HTML>
Thankyou for any help Im getting really fustrated
Oh and heres a screen dump of the problem, I've put a red circle around the frame thats in the wrong place
http://www.sugar-pop.net/alanna/DUMP.gif