using a css class with a link

windows

Guest
I'm trying to use a class for and external stylesheet. It's not working.<br />
<br />
Here's what I have in the styles.css<br />
<br />
.footer { font: normal 10pt/14pt Verdana, Arial, Sans-serif; color: #ffffff {<br />
<br />
a.footer_link:link { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #ffffff }<br />
a.footer_link:visited { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #ffffff }<br />
a.footer_link:hover { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #000000 }<br />
<br />
And here is what I have in the html file<br />
<br />
<div class="footer"><br />
<a href=http://www.htmlforums.com/archive/index.php/"feedback.php" class="footer_link">Site Feedback</a> &nbsp;|<br />
<a href=http://www.htmlforums.com/archive/index.php/"copyright.php" class="footer_link">Copyright</a> &copy; 2002 <br />
</div><br />
<br />
<br />
So, the links are showing up as the default blue and the text that isn't a link is showing up as black, instead of white.<br />
<br />
Does anyone notice a problem in my code?<br />
<br />
Thanks,<br />
Shun-Luoi<!--content-->.footer { font: normal 10pt/14pt Verdana, Arial, Sans-serif; color: #ffffff;} <br />
<br />
a.footer_link:link { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #ffffff; } <br />
a.footer_link:visited { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #ffffff; } <br />
a.footer_link:hover { font: normal 10pt/14pt Verdana, Arial, Sans-serif; text-decoration: underline; color: #000000; }<br />
<br />
Did you remember to include the link tag in your html page?<br />
<br />
<link rel="stylesheet" type="text/css" href=http://www.htmlforums.com/archive/index.php/"styles.css"><!--content-->I got it. That curly bracket was backwards. dumb mistake on my part.<!--content-->
 
Back
Top