Site messing up in IE - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Site messing up in IE (/showthread.php?tid=92180)
Site messing up in IE by Jimbo on 09-11-2009 at 02:35 PM
A new website I am helping to design works perfectly in firefox, but in IE, everything is messed up. My main CSS I am using is the following:
code:
body {
font-family: arial, helvetica, sans-serif;
font-size: 12px;
color: #222;
background: #fff url(grad2blue.png) repeat top;
margin: 0;
padding: 0;
}
a {
color: #22f;
text-decoration: none;
}
h2 {
text-decoration: none;
font-size: 15px;
margin: 0 0 0 6px;
padding: 0;
}
h5 {
text-decoration: none;
font-size: 15px;
margin: 0 0 0 6px;
padding: 0;
}
h1 {
text-decoration: none;
font-size: 15px;
margin: 0 0 0 6px;
padding: 0;
}
ul {
margin: 0 0 0 6px;
padding: 0;
list-style-type: none;
font-size: 11px;
}
li a {
color: #444;
}
li {
display: inline;
}
#tnav {
border: 0;
padding: 0;
margin: 0;
width: 100%;
background-color: #b2ceff;
}
#tnav2 {
border: 0;
padding: 0;
margin: 50%;
width: 100%;
background-color: #b2ceff;
text-align: right;
align: right;
}
#main {
border: 1px solid #b2ceff;
background-color: #d1dfff;
margin: 2px auto 2px auto;
padding: 5px 5px 5px 10px;
align: center;
width: 75%;
height: auto;
font-color: #222;
}
#contest {
border: 1px solid #b2ceff;
background-color: #d1dfff;
margin: 2px auto 2px auto;
padding: 5px 5px 5px 10px;
height: auto;
position: fixed;
left: 1%;
width: 65%;
}
#contest2 {
border: 1px solid #b2ceff;
background-color: #d1dfff;
margin: 2px auto 2px auto;
padding: 5px 5px 5px 10px;
height: auto;
position: fixed;
right: 1%;
width: 30%;
}
#main2 {
border: 1px solid #b2ceff;
background-color: #d1dfff;
margin: 2px auto 2px auto;
padding: 5px 5px 5px 10px;
height: auto;
position: fixed;
right: 1%;
width: 5%;
}
#main3 {
height: auto;
position: absolute;
left: 0%;
width: 5%;
}
#paypal {
border: 0;
padding: 20px;
margin: 10px;
width: 160px;
height: 85px;
background: #444;
}
#footer{
position: fixed;
bottom: 0px;
text-align: center;
border: 1px solid #b2ceff;
background-color: #d1dfff;
align: center;
width: 100%;
}
#iframe1 {
overflow-x: hidden;
}
If you check http://sammyservers.com in firefox, and then in IE, you will see exactly what I mean.
So which elements of my CSS arent working in IE, and how would I go about fixing them?
RE: Site messing up in IE by Menthix on 09-11-2009 at 02:40 PM
Frames
RE: Site messing up in IE by matty on 09-11-2009 at 03:24 PM
quote: Originally posted by Menthix
Frames
My thoughts exactly... iFrames make me want to cut myself.
RE: Site messing up in IE by Jimbo on 09-11-2009 at 04:23 PM
Frames are by far the easiest way for me to do things, considering many of the pages I link to use a whole directory and it would be very tedious to get everything to work without a frame.
|