Re: [Bulk] Suggestion > CSS > Pseudo element > Container

Already covered by a proposal (::outside / ::inside) but
I didn't see any news about that proposal recently.

Maybe some W3C Member could provide us more info
about the status of the proposal ;-)

Regards,
François

-----Message d'origine----- 
From: Pedro Amaral Couto
Sent: Tuesday, August 17, 2010 5:33 PM
To: www-style@w3.org
Subject: [Bulk] Suggestion > CSS > Pseudo element > Container

I'm sending this message to make a suggestion for CSS: a pseudo element
to create a container inside a element, wrapping their contents. For
instance, instead of doing this in a HTML file:

«
<div id="header">
      <div id="header-container" class="container">
              <p>Hello world!</p>
      </div>
</div>
»

we would just do:

«
<div id="head">
     <p>Hello world!</p>
</div>
»

and add this in the CSS file:

«
#head:container {
}
»

Regards
     Pedro Amaral Couto

Received on Monday, 6 September 2010 16:12:34 UTC