This is a discussion on "CSS link text color problem.." within the Web Page Design section. This forum, and the thread "CSS link text color problem.. are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS link text color problem..
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS link text color problem..
Well…I’m having some trouble with formatting link text using CSS…Im not sure why it isn’t working. I’ve done this before in a different site. The text SHOULD be gray and when you hover over it should turn green....the links are purple instead of gray! But the weird thing is the green hover works… Depending on your browser and OS it looks different… I tried validating the CSS file and got an error. But it didn’t make sence…not to me ☹
My Style Sheet http://sheffield.gomft.com/hfmcc/styles.css The Site http://sheffield.gomft.com/hfmcc/index.html Thanks guys! |
|
|
|
||||
|
Re: CSS link text color problem..
You mean the global navigation links at the bottom? They look fine to me.
__________________
CloudedVision, WebForumz Moderator Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
|
||||
|
Re: CSS link text color problem..
This is happening because you are getting the a:visited state which by default is purple. Clear your cache and/or define the a:visited {color:;} in your CSS to over write it.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: CSS link text color problem..
Quote:
I already have a:visited defined! |
|
||||
|
Re: CSS link text color problem..
Yep, but theres a syntax error:
__________________
CloudedVision, WebForumz Moderator Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
| The Following User Says Thank You to CloudedVision For This Useful Post: | ||
|
|||
|
Re: CSS link text color problem..
The CSS validator is telling you that you have two errors:
1. You don't have a semicolon after your color value for a:visited (should be color: #808080 2. the color you have set for .menutxt is an incorrect hex number (you have too many zeros your also getting one warning: Same colors for color and background-color in two contexts #container and .whitetxt |
| The Following User Says Thank You to Grubious For This Useful Post: | ||
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Having a problem with background color? | jaambees | Web Page Design | 2 | Jan 4th, 2008 02:05 |
| [SOLVED] Link Color and problem with Image positioning! | Ed | Web Page Design | 33 | Oct 10th, 2007 11:17 |
| Link color, not working. | PicoDeath | Web Page Design | 5 | Jul 28th, 2007 02:13 |
| link color | somsahi | Web Page Design | 3 | Aug 25th, 2006 17:02 |
| Anybody know how to change the color of a text input form in | Physt | Web Page Design | 7 | Aug 16th, 2004 08:44 |