W3C home > Mailing lists > Public > www-style@w3.org > September 2004

[css3 proposal]

From: Brunner Ádám <brunner.adam@mediapark.hu>
Date: Fri, 17 Sep 2004 09:02:08 +0200
Message-ID: <414A8BF0.4060202@mediapark.hu>
To: www-style@w3.org

Hi everyone!

I think it would be a usefull thing, if there were a way to react to the 
parent in CSS.

In the HTML source:
...
<ul>
    <li>text
       <ul>
          <li>text</li>
                ...
       </ul>
    </li>
    ...
</ul>
...

In the CSS, I could define a different background to those <li>s, where 
is a child <ul>. I don't have any idea, how to specify it in the CSS, 
but I think it's usefull.

Sorry, if don't understand for first, but I don't speak english as well 
as needed :)

Adam
Received on Friday, 17 September 2004 06:52:47 GMT

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