W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Proposed :between selector

From: Andrés <adelfino@gmail.com>
Date: Sun, 13 Aug 2006 12:58:01 -0300
Message-ID: <4d90013f0608130858j1f065209ya83c1a13ddda799@mail.gmail.com>
To: www-style@w3.org
Hi, I would to know if a :between selector is possible. This selector
would make simpler the next task, underline only the elements between
the first and the list child:

li { text-decoration: underline }
li:first-child { text-decoration: none }
li:last-child { text-decoration: none }

* A
* _B_
* _C_
* _D_
* E

:between would do:

li:between { text-decoration: underline }

Hope that it is clear enough, :P

Greetings

-- 
Andrés Delfino
Received on Sunday, 13 August 2006 15:59:15 GMT

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