On Sun, 19 Nov 2006 19:16:30 +0800, Trevor Richens <[EMAIL PROTECTED]> wrote:
> The code below renders OK in IE7 with the li elements hard against the > left margin of the page, but in Firefox 2.0 and Opera 9.2 I get aspace > of around 40px on the left. > What's going on? I would have thought that the display in IE7 iscorrect, > so why are Firefox and Opera wrong? They're not doing anything wrong. They just use padding rather than margin. Add padding:0 to your #mainNav ul styles. HTH, -- Andrew Gregory, <URL: mailto:[EMAIL PROTECTED] > <URL: http://www.scss.com.au/family/andrew/ > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/