I realize the problem was the doctype, it was missing that but now it's ok.
However, the main content on the right is set to a margin-top of -1245px. It is perfect in FF but in IE it's a little low. Here's the CSS:
Code:
/************************* LAYOUT STRUCTURE // SIDEBAR *************************
----------------------------------------------------------------------------------- */
#sidebarfield {
width: 190px;
float:left;
margin-left: 96px;}
#sidebarfield_inner {
padding: 5px;
}
.sidebar_title {
background: #f6f6f6;
text-align: center;
line-height: 14px;
padding: 3px;
color: #b5a395;
font-weight: bold;
font-size: 10px;
border-bottom: 1px solid #eeeeee;
border-left: 0px solid;
border-top: 0px solid;
border-right: 0px solid;
text-shadow: 1px 1px 0px #696868;
}
.sidefield_content {
font-size: 10px;
font-family: Tahoma;
line-height: 13px;
color: #56514d;
text-align: justify;
}
.current-01 {
background: #eeeeee;
border-bottom: 1px solid #f6f6f6;
font-family: Georgia;
color: #a3a0a0;
font-size: 10px;
text-align: justify;
margin-top: 7px;
margin-bottom: 7px;
padding: 3px;
}
.current-01 img {
background: #f6f6f6;
padding: 2px;
border: 1px solid #d7d2cb;
}
.current-02 {
background: #f6f6f6;
border-bottom: 1px solid #eeeeee;
font-family: Georgia;
color: #938c8c;
font-size: 10px;
text-align: justify;
margin-top: 7px;
margin-bottom: 7px;
padding: 3px;
}
.current-02 img {
background: #eeeeee;
padding: 2px;
border: 1px solid #ccc1b4;
}
.elites {margin: 3px;}
.elites a img {
padding: 2px;
background: #f2f4f6;
border: 1px solid #c8c8c8;
}
.elites a img:hover {
padding: 2px;
background: #d1dfec;
border: 1px solid #91afcd;
}
/************************* LAYOUT STRUCTURE // MAIN CONTENT *************************
----------------------------------------------------------------------------------- */
#contentfield {
width: 551px;
float:left;
margin-left: 195px;
margin-top: -1245px;}
#contentfield_inner {
padding: 5px;
}
Is there a way I can avoid using margin-top for the main content? I'm not sure if there is but I am wondering. Also, if more content is ever added to the side, it messes with the main content making it "go lower" therefore I'd have to re-adjust the numbers again.
And a little off...but how come the images for the "elites" class are fine in FF but not aligned in IE right?
Thanks for any help!
Oh, and not sure if it makes a difference but my IE version is version 7.0
|