Kamru Miah wrote:
> 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; }
You have to add a class to the links surrounding the images, and apply a
more suitable hover styles (for images) to that class.
> Is the above problem something to do with the use of 'inherit'
> property?
No.
The "problem" comes from the simple fact that CSS can't change styling
of an element based on that element's children, only on the element's
parent/grandparents.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
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/