chotchstar
MIS
I've been happily using SPANs and DIVs to position images on a web page viewed through IE6. I then tried to look at the same page using netscape6.2.2... and some of the images appear slightly (about 3px) further down the screen. I'm positioning each DIV 'absolute'ly over one main SPAN. I've tried everything I can think of including redoing the offending images themselves but all to no avail.
I can amend the page to make it look right in IE OR Netscape but not both, and what I'd really like to do is to make the page look right through both browsers. I hope I'm not asking the impossible and any advice would be massively appreciated as this problem is driving me mental!
I've included the code I'm using below;
.PageBackground
{
width: 750px;
height: 450px;
margin-top: 0px;
margin-right: 0px;
background-color: #FFFFEA;
position: absolute;
}
.FadeTop{margin-top: 60px; margin-left: 0px; position: absolute;}
.FadeBottom{margin-top: 90px; margin-left: 90px; position: absolute;}
.FadeShortBottom{margin-top: 420px; margin-left: 0px; position: absolute;}
.FadeSideL{margin-top: 63px; margin-left: 0px; position: absolute;}
.FadeSideR{margin-top: 103px; margin-left: 90px; position: absolute;}
.FadeSideRightShort{margin-top: 63px; margin-left: 740px; position: absolute;}
</style>
<body>
<span CLASS="PageBackground">
<div CLASS="FadeTop">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeTop.gif">
</div>
<div CLASS="FadeSideR">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideRightLong.gif">
</div>
<div CLASS="FadeSideRightShort">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideRightShort.gif">
</div>
<div CLASS="FadeBottom">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeBottomLong.gif">
</div>
<div CLASS="FadeSideL">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideLeft.gif">
</div>
<div CLASS="FadeShortBottom">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeShortBottom.gif">
</div>
</span>
I can amend the page to make it look right in IE OR Netscape but not both, and what I'd really like to do is to make the page look right through both browsers. I hope I'm not asking the impossible and any advice would be massively appreciated as this problem is driving me mental!
I've included the code I'm using below;
.PageBackground
{
width: 750px;
height: 450px;
margin-top: 0px;
margin-right: 0px;
background-color: #FFFFEA;
position: absolute;
}
.FadeTop{margin-top: 60px; margin-left: 0px; position: absolute;}
.FadeBottom{margin-top: 90px; margin-left: 90px; position: absolute;}
.FadeShortBottom{margin-top: 420px; margin-left: 0px; position: absolute;}
.FadeSideL{margin-top: 63px; margin-left: 0px; position: absolute;}
.FadeSideR{margin-top: 103px; margin-left: 90px; position: absolute;}
.FadeSideRightShort{margin-top: 63px; margin-left: 740px; position: absolute;}
</style>
<body>
<span CLASS="PageBackground">
<div CLASS="FadeTop">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeTop.gif">
</div>
<div CLASS="FadeSideR">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideRightLong.gif">
</div>
<div CLASS="FadeSideRightShort">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideRightShort.gif">
</div>
<div CLASS="FadeBottom">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeBottomLong.gif">
</div>
<div CLASS="FadeSideL">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeSideLeft.gif">
</div>
<div CLASS="FadeShortBottom">
<img BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SRC="/GVD_Partnership_Chief/Images/FadeShortBottom.gif">
</div>
</span>