On Sat, 26 May 2007, David A Knight wrote:

> Not sure how IE copes with it, 6 doesn't, not tried in 7 but I suspect
> it won't either.

IE 7 doesn't support counters and generated content (and :before 
pseudo-elements etc.) at all. Thus...

> ol { counter-reset: mycounter 0; list-style: none }
> li:before
> {

... IE ignores everything you say, except the list-style: none part. Thus, 
IE renders the list with no numbers.

You could use a "conditional comment" to override the list-style setting 
for IE, but what would then happen on less common browsers that don't 
support counters and generated content and don't obey the "conditional 
comment" either?

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
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