IE 6 – Problems with Short Height <div>’s
Gotta love IE 6 – If you’re trying to make a <div> really small, using CSS in IE 6, you may notice that even using a height: 1px won’t make that <div> shrink past a certain size …
Turns out IE 6 (okay with IE 7 and just about every other browser on the planet) won’t reduce the height of a <div> past the font-size specified for it. Set font-size: 0 for the <div>, and IE 6 will allow you to shrink the element further.
h u g h
7thgroove
5 Comments
Jump to comment form | comments rss [?] | trackback uri [?]