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

Re: Define <br> by CSS means?

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sun, 22 Jul 2012 21:43:19 +0200
Message-ID: <500C57D7.60707@kozea.fr>
To: www-style@w3.org
Le 22/07/2012 20:58, Håkon Wium Lie a écrit :
>   > 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 }

-- 
Simon Sapin
Received on Sunday, 22 July 2012 19:43:46 GMT

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