Content shifted down in IE8 only when uploaded to server
Posted: 20 December 2008 02:01 AM   [ Ignore ]
Newbie
Rank
Total Posts:  9
Joined  2008-05-23

Hey everyone, I’m having a problem with my homepage in IE8 where all my content gets shifted down a few pixels when the page loads. I do not have this problem when viewing the page locally or in FF, only when the site is uploaded in IE8. It seems to occur right as the page finishes loading and if I refresh the page the problem goes away. Any suggestions?

Link to site:
http://wri.eas.cornell.edu/wri_newsite_oct08/index.html

Here is my css:

imgdiv { 
behavior
url(iepngfix.htc); 
}
html {
padding
0;
margin0;
}
body {
background
-color#283C77;
margin0;
padding0;
background-imageurl(images/gradientbg.jpg);
background-repeatrepeat-x;
min-width950px;
}
#headerbar {
background-color#000000;
width100%;
height35px;
min-width950px;
margin0;
padding0;
}
#header {
margin0 auto 0 auto;
width950px;
}
#logo {
margin-top: -33px;
background-imageurl(images/logo2.jpg);
width36px;
height33px;
}
#menu {
margin-rightauto;
margin-leftauto;
width890px;
height25px;
margin-top: -28px;
}
#menu ul {
list-stylenone;
margin0;
padding0;
bordernone;
displayinline;
}
#menu li {
text-decorationnone;
margin0 0 0 30px;
displayinline;
}
#menu a:Link, a:Active, a:Visited {
font-familyHelvetica"Myriad Pro""Trebuchet MS"sans-serif;
font-size10px;
text-decorationnone;
color#CCCCCC;
letter-spacing2px;
}
#menu a:Hover {
color#5D95C1;
}
#menu a:Focus {
outlinenone;
}
#menu a img {
vertical-alignmiddle;
text-decorationnone;
outlinenone;
bordernone;
}
#content {
margin30px auto 0 auto;
width950px;
}
#leftcol {
floatleft;
width444px;
margin0;
padding0;
}
#practicepics {
margin-top: -10px;
margin-left: -45px;
width405px;
height290px;
margin-bottom: -20px;
}
#rightcol {
floatright;
margin0 0 0 0;
width445px;
}
#titledesign {
background-imageurl(images/main_nyswri3.png);
height163px;
width550px;
padding0;
margin60px 0 75px -140px;
}
#news {
margin-top40px;
}
#news h1 {
color#BAF257;
font-familyHelvetica"Myriad Pro""Trebuchet MS"sans-serif;
font-size14px;
font-weightnormal;
margin15px 0 0px 0;
}
#news h1.toptitle {
margin-top0;
}
#news h2 {
font-family"Myriad Pro"Helvetica"Trebuchet MS"sans-serif;
font-size14px;
font-styleitalic;
color#ffffff;
padding0;
margin15px 0 13px 0;
line-height0px;
font-weightnormal;
}
#news p {
color#ffffff;
font-familyHelvetica"Myriad Pro""Trebuchet MS"sans-serif;
font-size13px;
margin-top3px;
margin-bottom8px;
}
#news p.bold {
font-weightbold;
font-styleitalic;
margin-top0px;
displayblock;
}
#news img {
margin-bottom: -2px;
margin-left: -16px;
}
#news a {
position: static;
font-familyHelvetica"Myriad Pro""Trebuchet MS"sans-serif;
font-size13px;
color#CCFFFF;
text-decorationunderline;
margin-right0px;
padding-right0;
letter-spacing0;
}
#news a:Hover {
color#99CCFF;
}
img
.gaswells {
float
left;
padding4px 5px 0 16px;
}
img {
border
none;
}
#footer {
height50px;
clearboth;
Profile
 
 
Posted: 23 December 2008 07:05 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  9
Joined  2008-05-23

Sorry, the problem seems to occur in IE7. IE8 seems fine.

Profile