I was hoping some of you CSS gurus could help. I'm working on a very simple site for a friend. I'm trying to put 2 different styles of links.
The page is at http://www.backyardpotteryandplants.com
The problem I'm having is with the first link on the page. I've assigned it the id #content because the A:links are in the #content container.
The second set of links is at the footer of the page, thus given the id of footer.
What is happening is the first link (#content) is taking some, but not all of the attributes of the second link (#footer). Namely, the A:visited attribute (so if you check it out, click the link, then go back).
I know I'm doing something wrong because I'm having thi same problem with another site I'm working on.
The page is at http://www.backyardpotteryandplants.com
The problem I'm having is with the first link on the page. I've assigned it the id #content because the A:links are in the #content container.
| Quote: |
|
#content { width: 80%; padding: 1em; background-color: white; border:2px solid #33527b; color: #33527b; -moz-border-radius:20px; } #content A:link, a:visited, A:active { font-family : Verdana, Helvetica, sans-serif; Font-size : 1em; color : rgb(70,138,227); font-weight:bold; } #content A:hover { font-family : Verdana, Helvetica, sans-serif; Font-size : 1em; color : rgb(8,222,255); font-weight:bold; } |
The second set of links is at the footer of the page, thus given the id of footer.
| Quote: |
|
#footer { margin-left: 10px; margin-right: 10px; padding: 1em; } #footer A:link, A:visited, A:active { font-family:serif; font-size: .8em; color: rgb(1,11,0); } #footer A:hover { font-family:serif; font-size: .8em; color: rgb(140,228,141); } |
What is happening is the first link (#content) is taking some, but not all of the attributes of the second link (#footer). Namely, the A:visited attribute (so if you check it out, click the link, then go back).
I know I'm doing something wrong because I'm having thi same problem with another site I'm working on.
