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
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
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
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.