S
Steven Bourne
I don't really know much about CSS since I've always been hesitant to use
it, but I downloded Style Master and tried to create a basic CSS sheet.
Everything looks great, except that I want one set of links to look
different from another. So I defined it as a "footer" link, and in my html
page I specified <a class=footer> before the link. My problem is that it is
not following any of the rules in my CSS. It should be size 10px and it
should underline on an active hover. However it is always underlined, and
doesn't change when you hover it. I also can not change the size of the
font on it.
Would anyone mind taking a look at it for me? The CSS is fairly basic, and
I was able to get it to work before, so I don't know what's wrong. It is
the very bottom link that says "webmaster" at this site:
http://www.gottadancesc.com/index.html
The code looks like this:
<A class="footer" href="mailto:[email protected]">webmaster</a>
Here's my CSS:
----------------------------------------
body { color: #000000;
background-color: #ffffff;
margin: 0px;
padding: 0px;
border-style: none;
border-width: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.2em;
text-align: left;}
a.footer:link {color: #000000;
text-decoration: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
font-weight: normal;}
a.footer:visited {color: #000000;
text-decoration: underline}
a.footer:hover {color: #000000;
text-decoration: underline;
font-weight: normal;}
a:link {color: #000084;
background-color: #ffffff;
text-decoration: none;
font-size: 16px;}
a:hover {color: #ff84ff;
text-decoration: none;}
Thanks for any help!
it, but I downloded Style Master and tried to create a basic CSS sheet.
Everything looks great, except that I want one set of links to look
different from another. So I defined it as a "footer" link, and in my html
page I specified <a class=footer> before the link. My problem is that it is
not following any of the rules in my CSS. It should be size 10px and it
should underline on an active hover. However it is always underlined, and
doesn't change when you hover it. I also can not change the size of the
font on it.
Would anyone mind taking a look at it for me? The CSS is fairly basic, and
I was able to get it to work before, so I don't know what's wrong. It is
the very bottom link that says "webmaster" at this site:
http://www.gottadancesc.com/index.html
The code looks like this:
<A class="footer" href="mailto:[email protected]">webmaster</a>
Here's my CSS:
----------------------------------------
body { color: #000000;
background-color: #ffffff;
margin: 0px;
padding: 0px;
border-style: none;
border-width: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.2em;
text-align: left;}
a.footer:link {color: #000000;
text-decoration: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
font-weight: normal;}
a.footer:visited {color: #000000;
text-decoration: underline}
a.footer:hover {color: #000000;
text-decoration: underline;
font-weight: normal;}
a:link {color: #000084;
background-color: #ffffff;
text-decoration: none;
font-size: 16px;}
a:hover {color: #ff84ff;
text-decoration: none;}
Thanks for any help!