[thelist] Applying classes to links in a <TD>

Craig Saila crsaila at yahoo.ca
Tue Feb 19 09:25:00 CST 2002


Bob Boisvert wrote:
> Is there a way to apply a CSS class to a <TD></TD> (in this case
> class="textmenu") that will apply to the series of links within the
> <TD></TD> without having to use the class="??" on each link in the
> <TD></TD>?. Not sure if I explained that right, I'm learning CSS.

If you have:
  <td classs="something"><a href="#">something</a></td>

This still will work:
  TD.something A { thestyle: rule; }

What it says is and link whose parent element is TD.something, apply
this style rule.

--
Cheers,

Craig Saila
------------------------------------------
craig at saila.com  :  http://www.saila.com/
------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the thelist mailing list