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]

Reply via email to