On 13/09/2006 10:58, vwf wrote:
> I have a list of 6 items, and I want to associate a different image with
> each of the 6 items. Is there a smart/correct way to do this? Does
> someone know an example that has this implemented?

I'd just add an ID or class (but more probably ID) to each of the list 
items or anchor elements.

So something like:

.nav li a {
        background-repeat: no-repeat;
        background-align: 0 0;
        ... other common styles...
}

.nav li a#home {
        background-image: url(images/home.png);
}

etc.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to