Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and hyperlinks 1

Status
Not open for further replies.

TheCandyman

Technical User
Sep 9, 2002
761
0
0
US
I have a page in which i would like different css styled links. One standard for all links and a different one for my menu, but I have missed something, as the menu shows as a standard link. Any ideas from the following?


CSS
Code:
#menu a:link    { color: #4284B0; background-color: inherit; text-decoration: none;}
#menu a:visited { color: #4284B0; background-color: inherit; text-decoration: none;}
#menu a:hover   { color: #ffc423; background-color: inherit; }		   
a:link, a:visited { color: #4284B0; background-color: inherit; text-decoration: none; border-width: 0px 0px 1px 0px; border-style: none none DASHED none;}
a:hover { color: #ffc423; background-color: inherit; border-width: 0px 0px 1px 0px; border-style: none none DASHED none;}

html
Code:
<a href="index.asp" class="menu">Home</a>
<a href="About_Us.asp" class="menu">About Us</span></a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top