Cross Browser DIV Bug

Dec 8th, 2008 Posted in Technical | 4 comments »

The following DIV breaks every browser I have tested. By break I mean that it renders in a way that looks unreasonable. The border around the div is no longer a square. ( and sometimes not even a continuous line )

<div style='border: solid 1px; display: inline;'><br>broken</div>

The broken code rendered in your browser: