Previous Message
Next Message

image is a link, don't want link css applied

Sent by Terry Melanson on 31 March 2004 04:04


Lorin Rivers wrote:

> I have some images that are links. I don't want the images to have the 
> hover effect or to have the bottom-border. How can I do it without 
> applying a class or some such to the images?
>
> <http://newsite.runrev.com/resources/consultants.shtml>


Your going to have to explicitly apply a class to the  anchors that will 
have an image since you have the background changing in the a: hover.

a.img:hover { background-color: transparent; }

<a href="http://www.FlexibleLearning.com"
class="img" target="_blank"><img
src="/resources/images/consultantlogos/logo.gif"
width="421" height="34" border="0"
alt="The Flexible Learning Company" /></a>

Terry

-- 
xDev Design Interactive
http://www.xdevdesign.com/


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: