View Full Version : Weird CSS glitch


StarWay
05-27-2005, 12:40 AM
(Sorry for posting again to this forum so soon.)

Okay, so I put up my website and all, pretty layout in place. I use Firefox as my browser, and it looks fine that way. But when I checked it in IE it looked really messed up. Could someone help me? Here's a chunk of coding that I don't know how to alter to make it work:

body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}

#header {
width: 750px;
margin: 10px;
padding: 10px;
height: 180px;
background-color: #3333ff;
border: 1px solid #ffffff;
}
#right {
padding: 10px;
top: 145px;
width: 150px;
margin-left: 610px;
margin-right: 10px;
background-color: #3333ff;
border: 1px solid #ffffff;
}
#center {
padding: 10px;
position: absolute;
margin: 10px;
top: 212px;
width: 570px;
background-color: #3333ff;
border: 1px solid #ffffff;
}

My site is here: http://lyokofreak.toxicocean.net

Snow White
05-27-2005, 12:47 AM
Using CSS and positioning for both IE and Firefox won't be the same because the px size in IE differs from Firefox. The only way that I know of to fix this problem and to make your site viewable to all browser types is to use basic html and tables to position images and so on. :-/

StarWay
05-27-2005, 12:49 AM
Ugh, that so sucks. >.>

Thanks though. :)