| 12:29 pm on Jan 8, 2003 (gmt 0)|
Not sure if I understand 100%. :)
You have 3 states, right? Normal, hover and visited. You want the normal and the visited to be identical? Or you want all three to be identical?
What about the colour when you click on the link? Same as normal or same as hover?
| 12:32 pm on Jan 8, 2003 (gmt 0)|
Also, is this a pure CSS question, or are you needing information about how to do it specifically in DW?
| 1:20 pm on Jan 8, 2003 (gmt 0)|
this in the head should work, just alter the colour codes.
remove the <style> tags and put it on a css page if you are using it
| 1:56 pm on Jan 8, 2003 (gmt 0)|
Cheers Chris that worked perfectly :)
<added> I had the active link overiding visited - DUH! </added>
| 2:40 pm on Jan 8, 2003 (gmt 0)|
Pseudo class ordering is very importmant.
a:link > a:visited > a:hover > a:active
The a:hover must be placed after the a:link and a:visited calls, since otherwise the cascading rules will override the style of the a:hover rule. Similarly, because a:active is placed after a:hover, the active style will apply when the user both activates and hovers over the a:element.
| 4:16 pm on Jan 8, 2003 (gmt 0)|
This all makes alot more sense now. I am learning CSS as I go and I am now finding it alot more useful than I imagnined - Still along way to go though.
| 6:04 pm on Jan 10, 2003 (gmt 0)|
I am not too familiar with css, but in other forums I've posted to on codebloat and optimizing for fast download I've learned that external stylesheets are a great help (amongst other reasons). Now to my question. I have inserted a code for scrollbar color:
It works in IE but when I validated it with the css validator it showed as an error. Is the scrollbar coloring not compatible. Should I delete it? Will this cause major problems with other browsers, or does it not make a difference?
| 6:41 pm on Jan 10, 2003 (gmt 0)|
AFAIK this is IE-specific CSS and can therefore not be validated. It shouldn't do any harm to your site with other visitors though...check SCrollbar Coloring - Opinions PLease [webmasterworld.com] for more on this topic