Hello,

I have this markup:

<body>
bla bla
<a href="/test"> some links </a> bla
<a href="/foo">another one</a>

<div class="unstyled">
bla
<a href="/test">third link</a>
bla
</div
</body>

I want to style every link in the body, but not the one in the
"unstyled" div.
I don't want to overwrite every value that I declared for the global
links so the user preferences do not get hit.
How can I do this? I tried the :not pseudo-class like this:

*:not(div.pagination) a {
/* my cool styles */
}

But this doesnt work; it styles all links...

Any help is appreciated.
--Jonas

--~--~---------~--~----~------------~-------~--~----~
--
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