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

referring to a specific a href link

Status
Not open for further replies.

Gill1978

Programmer
Joined
Jun 12, 2001
Messages
277
Location
GB
Hi!

I have a number of a href links in a table. However I need to show the header names (which are links) in a different colour to the other links on the page.

Does anyone know how to do this?

The link looks like this:

<th bgcolor=&quot;#0078b3&quot;><FONT face=Arial color=white size=2><b><cfoutput><a class=&quot;header&quot; href=&quot;projectBrowserScreen.cfm?user_id=#URL.user_id#&quot;>Status</a></b></th></cfoutput>

Thanks

Julie
 
I've got a solution,
Put it in the actual link in the form of style=&quot;&quot;


<th bgcolor=&quot;#0078b3&quot;><FONT face=Arial color=white size=2><b><cfoutput><a style=&quot;color:white;text-decoration:none&quot; href=&quot;projectBrowserScreen.cfm?user_id=#URL.user_id#&sort=b&quot;>Status</a></b></th></cfoutput>

But i can't seem to be able to put a color in for the hover property ....

Does anyone know how?

I've tried

<a style=&quot;color:white;text-decoration:none;hover:color:#ff9933&quot; href=&quot;projectBrowserScreen.cfm?user_id=#URL.user_id#&sort=b&quot;>Status</a>


and this doesn't work!

Thanks

Julie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top