- From: Ben Ward <benmward@gmail.com>
- Date: Mon, 23 May 2005 15:39:00 +0100
- To: W3C Style List <www-style@w3.org>
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' } 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 14:39:03 UTC