If I wanted to style the <a> tags within the separator class, would I then
modify the stylesheet by removing the td.separator a:link a:visited block
and instead styling the <a> tags themselves like this:
a:link.separator a:visited.separator {
whatever style
}
I want to do this the right way.
-----Original Message-----
From: Greg Landers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 9:00 AM
To: CF-Community
Subject: Re: CSS <a> Question
Probably because you are also defining "a:link, a:visited" in addition to
your td class ... remove these two objects and your anchor tags will be free
to do as they like.
- Greg
----- Original Message -----
From: Marwan Saidi
To: CF-Community
Sent: Wednesday, June 02, 2004 7:54 AM
Subject: CSS <a> Question
Hey gang:
So I have a stylesheet with the following rule:
td.separator a:link, a:visited {
color: #006;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
I have one td with the .separator class applied, at the bottom of my page.
Why oh why does every <a> tag on my page inherit the style above? I have
checked and rechecked and I am not missing a closing table tag. The
interesting thing is that in the stylesheet I have defined 3 different
styles for the <a>, a default, the .separator <a> above, and a .content
<a>.
In DWMX's Relevant Styles tab, all of these are applied to all of my
links.
Is there some strange behavior with <a> tags that I am missing?
Marwan Saidi
Webmaster - PFH
[EMAIL PROTECTED]
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
