lynn168
01-08-2007, 04:57 PM
I use a DIV to hold my content, and it shows up different in IE and FF. In IE the DIV seems to be 300px wide, while it shows up as 315px in FF. Also, in IE it's positioned slightly higher than in FF.
I think I might be having the same problem as
http://webdeveloper.com/forum/showthread.php?t=121977
and
http://webdeveloper.com/forum/showthread.php?t=131908
This is the CSS I'm using (there are no other DIVs with z-index:3):
#content {
position: absolute;
top: 184px;
left: 350px;
width: 300px;
height: auto;
z-index: 3;
background-color: white;
border: 1px solid #d9d9d9;
padding: 8px;
}
and the HTML
<div id="content" style="border-bottom: solid 50px #b2e2c1;">
bla bla
bla
</div>
My site is not valid (because honestly, I don't know how to correct the errors in my coding a validator shows), so is that the problem or something else?
I think I might be having the same problem as
http://webdeveloper.com/forum/showthread.php?t=121977
and
http://webdeveloper.com/forum/showthread.php?t=131908
This is the CSS I'm using (there are no other DIVs with z-index:3):
#content {
position: absolute;
top: 184px;
left: 350px;
width: 300px;
height: auto;
z-index: 3;
background-color: white;
border: 1px solid #d9d9d9;
padding: 8px;
}
and the HTML
<div id="content" style="border-bottom: solid 50px #b2e2c1;">
bla bla
bla
</div>
My site is not valid (because honestly, I don't know how to correct the errors in my coding a validator shows), so is that the problem or something else?