Re: Suggestion > CSS > Pseudo element > Container

On 9 Aug 2010, at 4:25 AM, Pedro Amaral Couto wrote:

> Hi, this is the first message I'm sending to W3C.

Hello Pedro,

For style discussions, I recommend using the list www-style@w3.org.

  _ Ian


>
> 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
>
>
>
>

--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447

Received on Monday, 9 August 2010 12:59:30 UTC