hopeful
11-27-2006, 04:26 PM
This is the contents of my external CSS document. Saved as style.css
#linkfooter
{
a:link
{
color: blue;
}
a:visted
{
color: red;
}
}
This is the code connecting the document to my page
<link rel="stylesheet" type="text/csshref="style.css">
And this is where I am trying to use it:
<div id="linkfooter">
<a href="index.html">PHP/</a> |
<a href="eyeos">eyeos</a> |
<a href="Wordpress">Blog</a> |
<a href="phpbb2">Forum</a>
<br /><br /><span> © 2006 Trey Montgomery</span>
</div>
I am not sure what is wrong but it is noting doing as I want (which is to change the color of the link and visited link.
Can someone help me out?
Thanks
#linkfooter
{
a:link
{
color: blue;
}
a:visted
{
color: red;
}
}
This is the code connecting the document to my page
<link rel="stylesheet" type="text/csshref="style.css">
And this is where I am trying to use it:
<div id="linkfooter">
<a href="index.html">PHP/</a> |
<a href="eyeos">eyeos</a> |
<a href="Wordpress">Blog</a> |
<a href="phpbb2">Forum</a>
<br /><br /><span> © 2006 Trey Montgomery</span>
</div>
I am not sure what is wrong but it is noting doing as I want (which is to change the color of the link and visited link.
Can someone help me out?
Thanks