Sent by Daniel Beardsmore on 12 March 2007 15:03
Barney Carroll wrote:
> So if I were to have a list of black text with red numeric markers,
> would I be forced to create a span within each li, then set the li's
> colour to red and the span back to black?
As far as I am aware, yes.
> I'm distraught at the prospect of having to use extra markup for
> something so simple.
CSS 2.1 had extensive and complex support for controlling list markers, but this
was dropped, presumably due to no browser authors feeling bothered to implement
it. The only browser that I am aware of that implements CSS 2.1 list markers is
iCab 3.
As a result, styling of list markers reverted back to the anaemic level of CSS
1. No choice of colour, no choice of character, no choice of how far to the left
to offset the marker ...
As a result, list marker styling remains undefined in CSS and is left to the
mercy of the browser. This plagues me because iCab 3 refuses to style them the
same as other browsers. I can ask iCab to comply, but then the resulting CSS,
when read by other browsers, creates a mess, as they don't understand what I'm
trying to do.
With any luck, CSS3 has, or will, re-introduce list marker styling as without
it, you have little control over how lists are drawn.
Check up on CSS3, I guess. Sorry.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/