- From: Pedro Amaral Couto <pedro.amaral.couto@gmail.com>
- Date: Tue, 17 Aug 2010 15:33:24 +0000
- To: www-style@w3.org
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 14:48:39 UTC