In my site I have changed the links color using A:link.
But in certain tables which have a different background color from the
rest of the site, I need the links to be in a different color.
I would like to ask how it can be done most efficiently, that is,
without specifying a color for each link separately.
Thanks in advance,
Oren.
> In my site I have changed the links color using A:link.
>
> But in certain tables which have a different background color from the
> rest of the site, I need the links to be in a different color.
The exact method depends on how you have selected which tables have their
background colour changed. I suggest, if you have't already, you add a
class to all of them: <table class="foo">, then use:
a:link {
color: /* colour for links */ ;
}
table.foo a:link {
color: /* colour for links in special tables */ ;
}