Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Link color inside certain tables

0 views
Skip to first unread message

Oren Becker

unread,
Aug 23, 2002, 11:29:10 AM8/23/02
to
Hello.

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.

viza

unread,
Aug 23, 2002, 4:07:23 PM8/23/02
to
and then Oren Becker said:

> 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 */ ;
}


0 new messages