calrockx
11-21-2003, 02:49 PM
i was trying to apply some css style to a link through an external style sheet, but it won't work. i know the page is linked to the external sheet, so it's in the code.
this is on the external sheet:
font.topnav a {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
a.topnav2 {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
td.topnav a {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
those are the three i tried. finally it worked with the td one, but is it possible to apply css with a CLASS via font. or a.?
here's the code i applied it to, with the class in the td tag, not the font tag like i had hoped would work.
<TD CLASS="topnav"><FONT><A HREF="../../index.htm">HOME</A></FONT></TD>
this is on the external sheet:
font.topnav a {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
a.topnav2 {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
td.topnav a {font-family:arial; font-size:10pt; letter-spacing:1px; color: black; text-decoration:none}
those are the three i tried. finally it worked with the td one, but is it possible to apply css with a CLASS via font. or a.?
here's the code i applied it to, with the class in the td tag, not the font tag like i had hoped would work.
<TD CLASS="topnav"><FONT><A HREF="../../index.htm">HOME</A></FONT></TD>