In my situation, <a href="/" style="background: 0;"> <img ...> </a> seems to exclude the hover colour from the image links.
Thanks to both for your help! Kamru Vincent Pollard wrote: > You could add: > > img {border:none;} > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kamru Miah > Sent: Tuesday, September 09, 2008 7:29 AM > To: css-d@lists.css-discuss.org > Subject: [css-d] How do you exclude hover from image links > > Hello, > > Please advise me how to exclude the 'a:hover' below from image links > (i.e. only add hover on text links). > > a:hover { > color: #0000ff; background: #b0e0e6; > } > > Is the above problem something to do with the use of 'inherit' property? > > Many Thanks > > Kamru ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/