I have another issue where there is a general style for "a" and
another one for id first:

a.hover { color: green; }
#first a:hover { color: red; }

<div id="first">
    <a href="" class="outside"></a>
</div>

I want the "a" with class outside to use no styling at all.  Can that
be easily done without modifying the existing CSS?  Setting

a.outside:hover {}

doesn't do anything since one of the other 2 styling will be picked
up.

On May 1, 12:16 pm, "Jamie C." <[email protected]> wrote:
> Thierry,
>
> Try adding the class to the existing styles to make it more specific.
>
> a.outside {}
> a.outside:visited {}
> a.outside:hover {}
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to