W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Proposed ::last-line and ::last-letter selectors

From: Alastair Campbell <ac@alastc.com>
Date: Tue, 15 Aug 2006 15:04:41 +0100
Message-ID: <44E1D479.8080203@alastc.com>
To: www-style@w3.org

Andrés wrote:
> <p>Welcome to the site where you will start hacking everything.
> Prepare to hack.</p>
> 
> p::last-letter { display: none }
> p:after { content: "_"; text-decoration: blink }

You would and should have to use some HTML there.

What if the text wrapped like this?

<p>Welcome to the site where you will start
hacking everything. Prepare to hack.</p>

Or this? (one line if it doesn't come out):
<p>Welcome ... everything. Prepare to hack.</p>

-Alastair
Received on Tuesday, 15 August 2006 14:04:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT