Large left border confuses IE

liunx

Guest
<!-- m --><a class="postlink" href="http://chris.paing.com/index.php">http://chris.paing.com/index.php</a><!-- m -->

Looks as I would expect in Firefox, but IE is confused. The footer in IE thinks its left position is at -150px (the size of the left navbar). I get the same effect even if I add clear:both a bunch or put the footer div at the bottom of the wrapper div.

The css is as follows:


body { margin:0px; padding:0px; width:100%; background-color:#649CB7; font-family:helvetica, arial, sans-serif; }
p { margin-top:0px; }
img { border:none; }

#header { margin:0px; padding:16px; background-color:#649CB7; }
#header * { margin:0px; padding:0px; border:none; }
#header img { float:left; width:67px; height:107px; margin-right:16px; }


#titlebar { margin-bottom:32px; }
#titlebar h1 { display:inline; padding-bottom:8px; padding-right:16px; color:#ffffff; border-bottom-color:#003063; border-bottom-style:solid; border-bottom-width:3px; }
#titlebar span { padding-left:32px; color:#003063; font-size:50%; }

#navbar { background-color:#649CB7; }
#navbar li { float:left; width:130px; list-style:none; margin-right:16px; }
#navbar a { display:block; width:100%; padding-top:4px; padding-bottom:4px; color:black; text-align:center; text-decoration:none; background-color:#CCCC99; border-top-color:#999966; border-top-style:solid; border-top-width:2px; border-bottom-color:#999966; border-bottom-style:solid; border-bottom-width:2px; }
#navbar a:hover { font-weight:bold; border-top-color:#660000; border-top-style:solid; border-top-width:2px; border-bottom-color:#660000; border-bottom-style:solid; border-bottom-width:2px; }
#navbar li.thispage { padding-top:4px; padding-bottom:4px; text-align:center; color:black; font-weight:bold; text-decoration:none; background-color:#CCCC99; border-top-color:#660000; border-top-style:solid; border-top-width:2px; border-bottom-color:#660000; border-bottom-style:solid; border-bottom-width:2px; }

#wrapper { vertical-align:top; margin:0px; padding:0px; background-color:#ffffff; }
#leftnav { vertical-align:top; margin:0px; padding:16px; float:left; width:118px; background-color:#CCCC99; }
#content { vertical-align:top; margin:0px; padding:32px; border-left-color:#CCCC99; border-left-style:solid; border-left-width:150px; background-color:white; }
#footer { margin:0px; padding:0px; padding-top:16px; padding-bottom:16px; background-color:#649CB7; }
#footer * { margin:0px; padding:0px; border:none; vertical-align:middle; font-weight:bold; color:#003063; text-decoration:none; }
#footer span { padding-left:32px; padding-right:32px; }

.adobe { border:black solid 2px; padding:5px; background-color:#FFFFCC; width:492px; text-align:justify; }Sounds like you might be suffering from the Magik Creeping Text bug in IE-Win (<!-- m --><a class="postlink" href="http://www.positioniseverything.net/explorer/creep.html">http://www.positioniseverything.net/explorer/creep.html</a><!-- m -->). You mention a left border, which is one cause of the bug. Left Borders + Bottom Padding on the same element spells disaster in Internet Explorer/Windows.Yep, that was the problem. Thanks!
 
Back
Top