Re: CSS3: Suggestion for another list-style-type

On Tue, Mar 23, 2010 at 5:38 AM, A.D. <brille1@hotmail.com> wrote:
> Hello,
>
> in the current WD on CSS3 Lists I am missing a list-style-type of <string>.
>
> It doesn't seem to be easily possible to create lists with any arbitrary
> character (sequence), e.g.:
>
>  * foo
>  * bar
>
> or
>
>  » foo
>  » bar
>
>
> So I'd like to suggest to expand the list-style-type property definition to:
>
>   <glyph>  | <algorithmic>  | <numeric>  | <alphabetic>  | <symbolic>  |
> <non-repeating>  | <string>  | normal | none
>
>
> For an existing discussion, please refer to:
> http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/browse_thread/thread/03ff6de0d927515e
>
> I'd prefer to continue the discussion there, preventing e-mail inbox
> overflow.

Once everyone properly supports the existing ::marker pseudoelement
and content properties, you can do this without any special
intervention:

li::marker {
  content: "»";
}

~TJ

Received on Tuesday, 23 March 2010 15:20:50 UTC