Lyn Williams wrote: > I have a web page that displays perfectly in Firefox but has errors > when displayed in IE 6.
> http://www.alanevansmotors.co.uk/browse.php 1: div.nplinks becomes 100% + 20px wide (the W3C box model). #main-l div.nplinks { text-align: right; /* width: 100% <-- delete this property */; padding: 10px; } Since IE/win always makes elements expand to make space for everything inside (an IE-bug), #content #main-l will become 20px wider than it should be in IE6. Thus, #content #main-r is pushed that much too far to the right. Deleting the width will make it default to 'width: auto', and it will self-adjust to 100% width without overshooting. Result: no expanding and no pushing. 2: adding... #head img {display: block;} ...will get rid of the gap in <div id="head"> in IE6. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
