[css-d] Lists in browsers

2006-11-19 Thread Trevor Richens
Hi all, 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

Re: [css-d] Lists in browsers

2006-11-19 Thread Andrew Gregory
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

Re: [css-d] Lists in browsers

2006-11-19 Thread Philippe Wittenbergh
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

Re: [css-d] Lists in browsers

2006-11-19 Thread Trevor Richens
On Sun, 19 Nov 2006 21:38:12 +0900, you wrote: 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. Thanks guys. It's obvious when you know how.