Forum Moderators: not2easy

Message Too Old, No Replies

IMG links are picking up <a> hover

         

sherpa99

8:10 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



Hi,

I've got a page that has both images (that linkout) and regular text links ... the text links are supposed to have a background hover color change -- how do I keep my <a><img></a> from picking up this behaviour?

Thanks,

R

BonRouge

1:57 pm on Nov 13, 2004 (gmt 0)

10+ Year Member



If this is the Firefox default img link border, then this :
a img:hover {border:2px solid blue}

should make it stay the same on hover.

If you want it to just have no border at all, you can go :
a img {border:0;}

Let me know if this isn't what you meant.

sherpa99

10:33 am on Nov 18, 2004 (gmt 0)

10+ Year Member



presto -- that's all I needed to do ... thanks!