On Aug 5, 2008, at 12:27 PM, snak detek+0r wrote: > does anyone have a good way of universally disabling > > a:hover{background-color} > > for images? i always have this problem, and i'm never satisfied with > the > solution. it seems that you could fix it by styling > > a img {background-color: transparent} > > or > > a:hover img {background-color: transparent} > > but it seems like these never work. i also couldn't find anything > new in > the archives. but it's still worth asking: does anyone have a > brilliant > solution for this that i've never seen before?
a img {background-color: transparent} will only disable a background behind an image, but the link-box itself will still have a background- color. a.link-with-nested-image {} <a href="" class="link-with-nested-image"><img></a> Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/