W3C home > Mailing lists > Public > www-style@w3.org > May 2005

RE: [CSS3 lists] - glyph suggestion

From: David Balch <david.balch@continuing-education.oxford.ac.uk>
Date: Mon, 23 May 2005 16:12:27 +0100
Message-ID: <9D26F7445E7CF0448267CA320343CC7B330F1C@klipspringer.conted.ox.ac.uk>
To: 'Ben Ward' <benmward@gmail.com>, W3C Style List <www-style@w3.org>

> -----Original Message-----
> From: Ben Ward [mailto:benmward@gmail.com] 
> Sent: 23 May 2005 15:39
> 
> Your reference [0] states "To obtain other glyphs, authors 
> should use the 'content' property of the ::marker 
> pseudo-element". This is the preferred way of having your own 
> customised glyphs for bullet markers, and is obviously 
> completely flexible for authors to use whatever character they wish.
> 
> The named glyphs are a convenience and obviously easier to 
> learn than adding character codes, but they're somewhat rigid 
> and ::marker {
> content: 'blah'; } overcomes this.
> 
> In the case of your request, you'd want a style looking like this:
> 
> li::marker
> {
>   content: '\2717'
> }

Yeah, I see that this is possible, and also perceive the named glyphs as a
convenience. It seems to me that, with "check" as a named glyph, "cross" (or
something to that effect) would be a logical and useful companion - whether
it's useful enough to include I leave to the list...

Cheers,
Dave.

> 
> Ben
> 
> On 5/23/05, David Balch 
> <david.balch@continuing-education.oxford.ac.uk> wrote:
> >
> > Hi,
> >
> > I've searched the list archive for this and couldn't find anything, 
> > but apologies if it has already been dealt with...
> >
> > The CSS3 lists module includes a <glyph> value for the 
> 'list-style-type'
> > property [0].
> >
> > <glyph> defines 7 glyph styles, including "check". It 
> strikes me that 
> > another "cross" glyph would be a natural companion to 
> check, e.g. both 
> > might be used in lists discussing the pros and cons of something.
> >
> > If I've understood the Unicode properly [1], Unicode hex 
> 2717 (BALLOT 
> > X) might be a suitable example character.
> >
> > [0] http://www.w3.org/TR/2002/WD-css3-lists-20021107/#ltglyphgt
> > [1] 
> http://www.unicode.org/Public/MAPPINGS/VENDORS/ADOBE/zdingbat.txt
> >
> > Cheers,
> > Dave.
> >
> > --
> > David Balch.          | Web developer.
> > T: +44 (0)1865 280979 | Technology-Assisted Lifelong Learning.
> > F: +44 (0)1865 280982 | University of Oxford.
> > E: david.balch@conted.ox.ac.uk
> >
> > TALL, OUDCE and the University of Oxford accept no legal 
> > responsibility for the contents of this message. Any views 
> or opinions 
> > presented are only those of the author and not those of 
> TALL, or OUDCE, or the University of Oxford.
> > If this email has come to you in error please delete it and any 
> > attachments
> >
> >
> >
> 
> 
> --
> http://www.ben-ward.co.uk
> 
> 
> --
> http://www.ben-ward.co.uk
> 
Received on Monday, 23 May 2005 15:12:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT