On 05/08/06, Joseph Lorenzini <[EMAIL PROTECTED]> wrote:
> I have written previously on finding a way to style external links with CSS.
> I decided on using a span class which led to the following problem. My
> content area is within a DIV called #Content my span class is called
> "external". I have (#Content a) for internal links. The span class was for
> the external ones, however content a:hover over rides my span class. This
> makes no sense to me. According to inheritance rules the closest style
> rules. Can anyone explain this?

Without seeing the code in context - not really.

I'd suspect it has more to do with the cascade (and specificity) then
inheritance though.

http://www.w3.org/TR/CSS2/cascade.html#specificity

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to