[css-d] Four that could be two

2006-05-26 Thread Scott Haneda
I see four total things here, but two are the same and the other two are the same, is there some way to merge these so there are only two blocks? a:visited.secondLinks { color: #FFF; text-decoration: none; } a:link.secondLinks {

Re: [css-d] Four that could be two

2006-05-26 Thread skye estes
On 5/26/06, Scott Haneda [EMAIL PROTECTED] wrote: I see four total things here, but two are the same and the other two are the same, is there some way to merge these so there are only two blocks? a:visited.secondLinks { color: #FFF; text-decoration: none;

Re: [css-d] Four that could be two

2006-05-26 Thread skye estes
On 5/26/06, Scott Haneda [EMAIL PROTECTED] wrote: should do it. note that you need to specify the class (.secondLinks) before the state (:hover). Thanks, just what I needed no problem. also note that if your hover and active states are the same, only specifying rules for the hover state

Re: [css-d] Four that could be two

2006-05-26 Thread Mike Dougherty
I think the active state is used if you keyboard navigate the links without activating them. The link that will be followed by pressing the space/enter key can be active without sharing the hover status. True, many people navigate solely with the mouse. As a general rule, I would suggest