W3C home > Mailing lists > Public > site-comments@w3.org > August 2010

Re: Suggestion > CSS > Pseudo element > Container

From: Ian Jacobs <ij@w3.org>
Date: Mon, 9 Aug 2010 07:59:27 -0500
To: pedro.amaral.couto@gmail.com
Message-Id: <2F24B791-0184-4AEB-A791-875181F0C83B@w3.org>
Cc: site-comments@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:33 GMT