在IE6中修复布局错误的策略? [英] Strategy for Fixing Layout Bugs in IE6?
问题描述
第一件事首先
获取 Internet Explorer开发工具栏。这是一个生活保护程序,并与IE6和/或IE7很好的工作。它不是Web Developer Toolbar或Firebug for Firefox的替代品,但它总比没有更好。
阅读IE的怪癖—特别是 hasLayout 和 overflow 等。还有许多CSS细节,您必须不需要或找到替代品。看看有多少流行的JavaScript 工具包 / 框架 / libraries 绕过不同的问题。 p>
罗马不是一天建成的
你必须使用它越多,请记住,不要经常查找。这只是没有替代经验。正如几位已经指出的那样,网络上有很多资源。 职位就是一切当然在那里。
Generally, what's the best way to tackle a layout bug in IE6? What are the most common bugs or problems that one should look for when trying to figure out why your page suddenly looks like a monkey coded it?
First Things First
Get yourself the Internet Explorer Developer Toolbar. It's a life saver and works great with IE6 and/or IE7. It's no replacement for Web Developer Toolbar or Firebug for Firefox, but it's better than nothing.
Know Thy Enemy
Read up on the quirks of IE — particularly hasLayout and overflow and the like. There are also many CSS niceties that you'll have to either do without or find alternatives. Look into how many of the popular JavaScript toolkits/frameworks/libraries get around different issues.
Rome Wasn't Built in a Day
The more you have to work with it, the more you'll remember off hand and won't have to lookup as often. There's just no replacement for experience in this. As several have pointed out, though, there are great resources out there on the net. Position Is Everything is certainly up there.
这篇关于在IE6中修复布局错误的策略?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!