Fix: Internet Explorer 6 div height when less than 20px
Filed in CSS on Nov.07, 2009
Empty divs in IE6 seem to have a minimum height more or less equal
to the current line-height so if you want to have an emty div of 10px for example IE will render it as
being 20px in height.
To fix this add a html comment inside the div:
<div id=”smalldiv”> <!– –> </div>d

Leave a Reply