W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: Proposal of [attr/=regex] selector

From: Nikodem <freyjkell@gmail.com>
Date: Wed, 24 Oct 2007 15:03:40 +0200
Message-ID: <471F42AC.6010409@gmail.com>
To: Philippe Wittenbergh <jk7r-obt@asahi-net.or.jp>
CC: www-style <www-style@w3.org>

Philippe Wittenbergh wrote:
> 
> a[href*='/article/'] {color:white; background:lime;}
> 
> Have a look at:
> http://www.w3.org/TR/css3-selectors/#attribute-selectors
> 

Regular expressions are much more flexible.

-- 
Nikodem
Received on Wednesday, 24 October 2007 13:05:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:55 GMT