Forum Moderators: not2easy
(I am aware I can use one set image as a bullet but i'd like them be numbered)
Let's just say I wanted the following numbers to be pink with a black border - can it be done?
[1]
[2]
[3]
Cheers.
<ol class="listclass">
<li><span class="spanclass">List Item</span></li>
<li><span class="spanclass">List Item</span></li>
<li><span class="spanclass">List Item</span></li>
</ol>
The span's purpose is to override the style for the li element. I don't think you can put a border around just the number. The entire list item would have a border. You could use images, but then you will have to set the style for each li element (if you want each bullet to be different).
I'm sure someone here can come up with a better way to do this.
Meh, just brainstorming. But yeah, if you just want a border around the numbers, I think what sgietz said could work, except I think some browsers like IE6 (probably the only one) don't apply styles to the 'bullet'? I don't really know.
[edited by: Xapti at 6:25 am (utc) on May 10, 2008]