Re: Define <br> by CSS means?

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

  br:before       { content: "\A"; white-space: pre-line }

              Håkon Wium Lie                          CTO °þe®ª        

Received on Saturday, 21 July 2012 21:01:43 UTC