IE position:absolute different than other browsers

liunx

Guest
I noticed an absolutely positioned sidebar div is not in the exact same place on the page, when comparing IE Win to Firefox Mac/Win. In IE Win, it is about 6px higher on the page. Is there some kind of IE thing happening here, and is there a way to fix it?

body {
background:#EFEFEF;
margin:0;
padding:0;
}
#sidebar {
position:absolute;
top: 120px;
left:12px;
width: 170px;
border: 1px solid #CCCCCC;
}Try:
body, html {
background:#EFEFEF;
margin:0;
padding:0;
}
 
Back
Top