Re: Define <br> by CSS means?

On Sat, Jul 21, 2012 at 2:00 PM, Håkon Wium Lie <howcome@opera.com> wrote:
> Also sprach Simon Sapin:
>
>  > You can do as Lea said to have something behave like <br> in CSS. In
>  > fact that’s how <br> is implemented in some UAs.
>
> Indeed, from /usr/lib/prince/style/xhtml.css:
>
>   br {
>     content: '\A';
>     white-space: pre;
>     background: none
>   }
>
> And from http://www.w3.org/TR/CSS21/sample.html:
>
>   br:before       { content: "\A"; white-space: pre-line }
>

It's a pity but all this is simply just a good wish - far from reality.

Check this: http://terrainformatica.com/w3/css-br.htm


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Saturday, 21 July 2012 23:56:03 UTC