W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: BR element and generated content

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Sat, 13 Oct 2007 11:58:42 +0200
Message-ID: <471096D2.2020902@disruptive-innovations.com>
To: David Woolley <forums@david-woolley.me.uk>
Cc: "www-style@w3.org" <www-style@w3.org>

With my Nvu hat on, the definition of BR based on generated content is
incredibly useful and powerful to achieve a very common effect available
in most editors on the market: view CRs and paragraph breaks.

   br::before { content: "\B6\A"; }
   p::after { content : "\B6"; }

</Daniel>
Received on Saturday, 13 October 2007 09:58:53 GMT

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