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

"Headings" selector?

From: David Chambers <david.chambers.05@gmail.com>
Date: Thu, 7 Oct 2010 03:29:36 +1300
Message-ID: <AANLkTi=YauWKL_LzvL7vmzSHKZZ-GtGGOvMdkzUzO9hP@mail.gmail.com>
To: www-style@w3.org
It's not uncommon to see…

    h1, h2, h3, h4, h5, h6 { font-weight: bold; }

Yesterday I was forced to write…

    #preview h1, #preview h2, #preview h3, #preview h4, #preview
h5, #preview h6 { /* rules */ }

It'd be great to be able to write…

    h { font-weight: bold; }

and…

    #preview h { /* rules */ }

I don't know how difficult this'd be to implement, but I do know that I'm
not the only one who'd find it useful. :)

David
Received on Wednesday, 6 October 2010 14:30:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT