文章分类 -  Hacks

Fix Hacks
Dimensional Bug Fixing
摘要:原文地址:http://www.communitymx.com/content/article.cfm?page=2&cid=C37E0bugs: IE4-IE6/Win1. Guide A very large percentage of IE/Win bugs are triggered by the lack of any stated dimensions on elements that contain nested floats. In other words, if you have a box without either awidthor aheight, and n 阅读全文

posted @ 2013-04-23 17:29 BigPalm 阅读(139) 评论(0) 推荐(0)

Floats, Margins and IE
摘要:原文地址:http://www.positioniseverything.net/explorer/floatIndent.htmlbugs: IE4-6/Windows1. Guide The bug demonstrated here causes in-line elements (images, text) adjacent to a floated div to appear to be indented from their expected location.The indentation is caused by IE6's weird handling of marg 阅读全文

posted @ 2013-04-22 23:17 BigPalm 阅读(128) 评论(0) 推荐(0)

Box Model Hack——Tantek Celik
摘要:原文地址:http://tantek.com/CSS/Examples/boxmodelhack.htmlbugs:IE4-5.5/Windows1. Guide Boxtest Here is a sample div with class "boxtest".It has 20px border, 30px padding, and 300px width. div.boxtest { border:20px solid; padding:30px; background: #ffc; width:300px; } The total width inc... 阅读全文

posted @ 2013-04-22 14:39 BigPalm 阅读(150) 评论(0) 推荐(0)

导航