-
On the following style sheet, the .content is working fine, but on the menu, I only want the links to be in white, and I want any other text that is typed to be in Orange, but when I view the page, it comes up as the whole menu being Orange, when only text that is not a link should be Orange. If anybody can point me in the right direction as to what I'm doing wrong, I'd be keen to hear about it!
Here is the Style Sheet;
.menu {font-face: Arial, Helvetica, sans-serif; font-size: 12pt; color: #FF9900; A:link: {color: white; text-decoration: underline}
.content {font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000; A:link: {color: blue; text-decoration: underline} A:visited: {color: purple; text-decoration: none} A:active: {color: red; text-decoration: none}
Any help is much appreciated.
-
I have never embedded tags in a class like you have done. I have always preferred the less ambigous rule of defining each tag for each style I wanted to use.
i.e:
A.menu:hover
A.menu:active
A.menu:visited
So on and so forth. Try that and see if it works.
------------------
Wayne Luke
Internet Media Provider
-
That's exactly the way I do it to.
Mike
------------------
Street Bikers United protecting the rights of motorcyclists worldwide.
Cosmic Custom Airbrush - Hawaii's premier airbrush studio.