David Hucklesby wrote:
> On Wed, 07 Jun 2006 07:38:38 -0400, Zoe M. Gillenwater wrote:
>   
>> I usually set a base text color for a (with no pseudo classes on it)
>> that affects all states of all links. Then I override this color for
>> :visited and :hover. I usually don't set anything for :active or 
>> :focus.
>>     
>
> I like this. Nice and simple - thanks, Zoe.
>   

You're welcome. I like simple. By the way, even if you do use <a> 
elements for anchors on the page, you don't have to wrap them around 
anything, so you don't have to risk heading text turning the color of 
links if you apply styles directly to the <a> element.

> But you may want to make some style change on focus in those situations 
> that the "focus lines" do not show up well when tabbing thru the links. 
> Although IE does not recognize :focus, it seems to apply :active as if it 
> were :focus, so I would apply the same styles to both. (:active and 
> :focus).
>
>   

Right, which is why I said "usually don't." :-) That's a good example of 
a time to use :focus.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to