On 29 Jul 2011, at 14:14, Oliver Boermans wrote:

> Mathew is asking the pertinent question.
> There are five pseudo selectors to consider on links:
> 
> :link
> :visited
> :focus
> :hover
> :active
> 
> By applying the font attributes to link and visited you leave the others 
> undefined.

A link doesn't stop being a link just because it is a hovered, focused or 
active link.

:link and :visited are mutually exclusive (since :link means "unvisited link") 
but the other pseudo-classes stack (with them and each other).

The only time you need to worry about focus/hover/active applying when 
link/visited don't is when you have a non-linked anchor (which you shouldn't 
have these days since `id` on a heading or div/section/etc makes more sense).

-- 
David Dorward
http://dorward.me.uk



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to