Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jdl8422

macrumors 6502
Original poster
Jul 5, 2006
491
0
Louisiana
I am doing a website and I have a list that I am coding. I know how to do a list and have it highlight when I hover over it, but I want something a little different. I have a numbered list, and I want it to highlight just the number with a transparent circle. I attached a pic of it to get a better idea.
 

Attachments

  • list.jpg
    list.jpg
    60.9 KB · Views: 180
Similar to the above post, you could have the circle image without a number in it and use it as a background image for the li tag during a hover (a:hover). This would allow the numbering of the ol to be present on top. The only trouble might be to get it to align properly, and wouldn't necessarily stay where it needs to if the user resizes the text. You at least would only have to create one graphic though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.