W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: Define <br> by CSS means?

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 22 Jul 2012 23:09:01 +0200
Message-ID: <20492.27629.124350.83794@gargle.gargle.HOWL>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT