在IE6中修复布局错误的策略? [英] Strategy for Fixing Layout Bugs in IE6?

查看:73
本文介绍了在IE6中修复布局错误的策略?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,解决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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆