Previous Message
Next Message

href's and images

Sent by Sam Leathers on 21 September 2005 05:05

I'm working on a website where I have a standard <ul> list for links in
display: block; Currently, the links are <img> tags, but I'd like to use
css to display the image. I know I can use background:
url("/path/to/image.gif"), but whats the best way to have a different
image for each href? Do I need to have each href in a different class to
achieve this? Also, if it makes any difference, I do plan on using the
hover tag to do an image swap.


in life, direction is everything, distance is secondary--so keep your

[KJV] Luke 5:16 And he withdrew himself into the wilderness, and prayed.

Get Firefox!!!;id=13731&amp;t=1
css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: