What you need to do here is make your CSS more specific.
You can do this by making a couple of new classes for each of these links.
Something like:
a .darkLink {color:some dark color;}
a .lightLink {color:some light color;}
Then in your HTML code:
<a href="someplace.htm" class="darkLink">dark link</a>
<a href="some_other_place.htm" class="lightLink">light link</a>
This could be made more specific if all your dark links appear in one
div and vice versa. Then your css could read:
div#lightArea a .darkLink {color:some dark color;}
div#darkArea a .lightLink {color:some light color;}
Hope that helps, Joe
Shirley Harshenin wrote:
> Hi!
>
> I am working on a page that has both light and dark backgrounds therefore
> need two different colors for links (dark color link for light bg, light
> color link for dark bg). HOW do I code that? I've tried creating a new style
> (in CSS) but the main content style over-rides it. :(
>
> I'm using (well, trying to use) Dreamweaver MX.
>
> Any assistance would be very much appreciated.
>
> THANK YOU,
> shirley
--
Joe Huggins MSW, MSCIS
University of Colorado Health Sciences Center
Clinical Science Program
______________________________________________________________________
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/