Reputation: 1578
When I use clear:both
code in CSS div tag it doesn't show correctly on IE.
this is firefox:
this is IE 6
You can see in firefox it's show correctly, But IE 6 it doesn't show correctly. Please help me to solve this problem. Thank you.
Please check this.
http://jsfiddle.net/sasindu555/xmKAT/
Upvotes: 2
Views: 3026
Reputation: 27624
add font-size: 0;
to #h-spacer
IE6 can't make a 1px
high div
it defaults to 16px(or default) height to leave room for text line-height
Upvotes: 3