W3C home > Mailing lists > Public > site-comments@w3.org > August 2009

Should :active style only apply to links?

From: Brian Nixon <nixonb@yahoo.com>
Date: Mon, 10 Aug 2009 08:15:20 +0000
Message-Id: <495759.45802.qm@web62406.mail.re1.yahoo.com>
To: site-comments@w3.org
Should the :active style only really apply to links ( la CSS1)?  It  
looks odd when text that isn't a link changes appearance when you  
click the mouse on it.

I'm no CSS expert, but it looks like this was the behaviour with CSS1,  
and with 2.1 you would need to change the 'a:active' selectors in the  
site style sheets to 'a[href]:active' to achieve the same effect.  But  
I'm guessing that not all UAs support that notation?
Received on Tuesday, 11 August 2009 00:18:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:52:29 UTC