Forum Bugs

Can't style br

someuser
Hi,

I have a css style to reduce the line height of br in a div and it renders correctly in firefox (reduces the spacing) but in prince it does nothing. I can get around this by having a div with a space in it instead of a br but that is just not as clean or obvious. The code is as follows

div.details br, div.details div
{
line-height:.5;
}

--Doesn't work - doesn't reduce break space (but does in FF)
<div>
Some text
<br><br>
Yada yada yada
</div>

--Does work - but not as nice
<div>
Some text
<div>&nbsp;</div>
Yada yada yada
</div>
Lynx
Try
br {display:block;height:0.5em;content:"";}
someuser
That worked, thanks!