Sunday Weekly Roundup #24 - 6/22/2008
Comments (0)- CSS
- Typography
- Browser News
- ASP.NET
- Interesting
- Attractive Websites
- Miscellaneous
- Wordpress
- Tutorials
If you use clearfix class to clear floated elements throughout your site, you might have been faced with a large gap in IE6 browser, even if you specified 1px height property, like so:
.clearfix { clear:both; height:1px; }
There is a very simple solution for this problem - just add the line-height property.
.clearfix { clear:both; height:1px; line-height:1px; }