Ahhhhhhh. Ok, that makes sense. Thanks Sandy!

-----Original Message-----
From: Sandy Clark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 9:06 AM
To: CF-Community
Subject: RE: CSS <a> Question

You need to declare the a:visited as part of the td.separator.Right now you
are declaring all :links in the a within the td.separator to be something,
then you are declaring all visited links within your document to be the
same.

td.separator a:link,  td.separator a:visited {
color: #006;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}

Sandy Clark
Come see me speak at CFUN-04 - CSS for Better Sites!
http://www.cfconf.org/cfun-04 <http://www.cfconf.org/>

  _____  

From: Marwan Saidi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 8:54 AM
To: CF-Community
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]

Reply via email to