Bruce Gilbert wrote:

I have a uborganized list which are also hyperlinks. I am wanting an image
to appear to the right of the first two links, but not the third (or last).

ul.sitemap li a{
padding:0 1.5em 0 .5em;
background:url(/footer_dots.gif) right no-repeat;
}

ul.sitemap li.last a{
padding:0 1.5em 0 .5em;

}

The first declaration still applies to a link within the classed list item, so your background image is still placed behind that link. You can remove the repeated padding declaration, but you need to "zero" the background, like so:

ul.sitemap li.last a {
background: none;
}

HTH,

--

-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to