Re: Define <br> by CSS means?

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 UTC