[thelist] Easy CSS Question
David Dorward
evolt at david.us-lot.org
Thu May 30 15:27:01 CDT 2002
On Thu, 30 May 2002 15:24:21 -0500
Ken Kogler <ken.kogler at cph.org> wrote:
> I'm trying to change colors of links.
>
> How do I say this?
> "All links should be '#0000ff' if they're in a TD with id="body"?
> (assume I just need a:link - I can figure out the other 3! :-) )
>
> Is it #body.a:link { color: #0000ff; } ?
That would be
"id of body, with a class of a, and a psudo class of link"
Try:
td#body a:link { color: #00f; }
Although I suggest using a name other then "body" as this could be
confused with <body>
> That doesn't seem to work (IE6)...
--
David Dorward http://david.us-lot.org/
HTML email is a bit like using coloured paper and glitter ink on a CV.
More information about the thelist
mailing list