Re: [css3-lists] Proposal: list item marker from the content of the li element

-------- Original-Nachricht --------
> Datum: Wed, 31 Mar 2010 07:51:27 -0700
> Von: "Anne van Kesteren" <annevk@opera.com>

> I think if we get something like this to work
> 
>    li[marker]::marker { content:attr(marker) }
> 

If I understand this correctly this would require a markup such as:

<li marker="§1">...</li>

I doubt that this solves the legal text use case. I don't know how this is looked at from a technical point of view, but as an author I would not consider an attribute value being part of the text contents. I could have the idea to work around it somehow like:

li[marker]::marker { 
  content:attr(marker);
}
li span.marker {
  display:none;
}

<li marker="§1"><span class="marker">§1 </span>...</li>
-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02

Received on Wednesday, 31 March 2010 17:16:39 UTC