On Nov 19, 2006, at 8:16 PM, Trevor Richens wrote:

> I'm just starting out with sites using only css and have come across
> the following problem.
> 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 a
> space of around 40px on the left.
> What's going on? I would have thought that the display in IE7 is
> correct, so why are Firefox and Opera wrong?

Nobody is wrong.
Opera, Safari and Firefox use padding-left for space reserved for the  
list marker.
Reset both the margin-left and padding-left to zero.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
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/

Reply via email to