W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [selectors] [css3-content] The ::inside pseudo-element

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 20 Jan 2009 14:52:24 -0500
Message-ID: <49762B78.9090802@mit.edu>
To: Giovanni Campagna <scampa.giovanni@gmail.com>
CC: www-style@w3.org

Giovanni Campagna wrote:
> Doing some testing, I actually discovered that ::inside is need because 
> yes, ::before does not introduce a new table-cell, but it introduces an 
> inline box. Text-align (and other useful properties, like float) does 
> not apply to inline

You can use an inline-block if you want text-align, no?  If you float it 
you'll get a block, of course, but I'm still not sure why you need 
::inside in that case.

-Boris
Received on Tuesday, 20 January 2009 19:53:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT