CSS Help

Soldato
Joined
21 Jul 2004
Posts
6,360
Location
Harrow, UK
I am trying to do a bullet list style in CSS, but I want to use a custom bullet point with unicode x2E. Is this possible with CSS using something like:

{list-style-type:circle}

where circle is the x2E?

Note that I can only use CSS and no HTML or Javascript.
 
Last edited:
dunno wtf x2E is but custom bullet points can be done though an image that doesn't repeat, set to the left and then pad it out.
 
Every time i see these threads I get a bit excited thinking of a bit of a one on one sparing session... Alas Counter Strike: Source is my only understanding of CSS :D
 
Not tested it yet, but I'm wondering if you could specify no list style type, and then use the :before pseudo-selector - with content: "unicode character" - on your <li>s.

EDIT: ...as the ListApart article mentions :D Compatibility with today's browsers is bound to have improved since that article was published, so maybe that's the route to take.
 
Last edited:
Back
Top Bottom