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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cant get anchor classes to work

Status
Not open for further replies.

dunskii

Programmer
Sep 14, 2001
107
AU
Hi all,

I'm trying to have a number of anchor classes,

This is what i am doing but it is not working,

A.head_link:link { font-family: "Times New Roman", Times, serif; font-size: 20px; color: #990000}

A.text_link:link { font-family: "arial"; font-size: 16px; color: #990000 }

thanks

dunskii
 
sorry, when i say its not working, the links are underlined when they shouldnt be

thanks
 
Hi,

If you want them not to underline you have to insert a 'text-decoration:none' as follows:

Code:
A.head_link{  font-family: "Times New Roman", Times, serif; font-size: 20px; color: #990000; text-decoration: none}

A.text_link{ font-family: "arial"; font-size: 16px; color: #990000; text-decoration: none }

Hope this helps.

01101000011000010110010001110011
 
try this:

A:link.head_link { font-family: "Times New Roman", Times, serif; font-size: 20px; color: #990000}

A:link.text_link { font-family: "arial"; font-size: 16px; color: #990000 }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top