Re: Define <br> by CSS means?

Simon Sapin wrote:

 > >   > Check this:http://terrainformatica.com/w3/css-br.htm
 > >
 > > Neither Prince nor Opera break any lines in the example.
 > 
 > This is probably because this also applies to the <br> element:
 > 
 > .some-span > * { display: inline-block }
 > 
 > This should fix it:
 > 
 > .some-span > div { display: inline-block }

Yes. So it seems that <br> works, and its behavior can be described in
CSS. What doesn't work is overloading inline-blocks with line-breaking
behavior?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Sunday, 22 July 2012 21:09:37 UTC