讨论IE的网站陷入困境? [英] Web sites that discuss IE gotchas?

查看:74
本文介绍了讨论IE的网站陷入困境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在重新设计我的网页并开始使用CSS工作更多

。我有,我认为,一个漂亮的网页布局(我不是专家所以

我可能是错的)。当我使用Konqueror和Firefox进行测试时它

运行良好(一些小问题)但是当我用IE 6.0测试它时

没有显示或者它混乱一切都好了。我已经尝试使用各种

示例(条件)来解决IE问题,但是他们正在导致他们修复的更多问题。我喜欢把IE放在一起但是它的价格大约是我的流量的33%左右。所以可能不是一个好主意。


任何人都可以指向我解释如何围绕IE的

问题进行设计的网站?我已经google了,但我似乎得到了点滴和单调的

信息。


-

Linux家庭自动化Neil Cherry nc*****@linuxha.com
http://www.linuxha.com/ 主站点
http://linuxha.blogspot.com/ 我的HA博客
http://home.comcast.net/~ncherry/ 备份网站

I''m in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I''m no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn''t display or it jumbles everything up. I''ve tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I''d love to drop IE all together but it''s
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE''s
problems? I''ve googled but I seem to be getting dribs and drabs of
information.

--
Linux Home Automation Neil Cherry nc*****@linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site

推荐答案

在文章< sl **************** @ cookie.uucp>中,

Neil Cherry< nj*@cookie.uucpwrote:
In article <sl****************@cookie.uucp>,
Neil Cherry <nj*@cookie.uucpwrote:

我正在重新设计我的网页并开始使用CSS工作更多

。我有,我认为,一个漂亮的网页布局(我不是专家所以

我可能是错的)。当我使用Konqueror和Firefox进行测试时它

运行良好(一些小问题)但是当我用IE 6.0测试它时

没有显示或者它混乱一切都好了。我已经尝试使用各种

示例(条件)来解决IE问题,但是他们正在导致他们修复的更多问题。我喜欢把IE放在一起但是它的价格大约是我的流量的33%左右。所以可能不是一个好主意。


任何人都可以指向我解释如何围绕IE的

问题进行设计的网站?我用谷歌搜索了,但我似乎得到了点滴和单调的信息。
I''m in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I''m no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn''t display or it jumbles everything up. I''ve tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I''d love to drop IE all together but it''s
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE''s
problems? I''ve googled but I seem to be getting dribs and drabs of
information.



要做的第一件事就是检查你的网站是否有错误,在主要的css和html上有几个

站点在你的信号中,查看

验证器。另外,你需要使用xhtml吗?通常

最好保留:


<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.01 // EN"

" http://www.w3.org/TR/html4/strict.dtd">


IE 6和你的网站存在很多问题最好的策略是

首先让你的代码尽可能犹太洁食。除此之外,你有什么特别的问题?


-

dorayme

First thing to do is to check your site for errors, there a few
in both css and html on the "main" site in your sig, look up in
validators. The other thing, do you need to use xhtml? Usually
best to keep to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

There are a lot of problems with IE 6 and your best strategy is
to first get your code as kosher as possible. Beyond that, what
are the specific problems you have?

--
dorayme


On Thu,2006年12月28日14:38:34 +1100,dorayme写道:
On Thu, 28 Dec 2006 14:38:34 +1100, dorayme wrote:

文章< sl ***** ***********@cookie.uucp>,

Neil Cherry< nj*@cookie.uucpwrote:
In article <sl****************@cookie.uucp>,
Neil Cherry <nj*@cookie.uucpwrote:

>我正在重新设计我的网页并开始使用CSS进行更多工作。我有,我认为,一个漂亮的网页布局(我不是专家所以
我可能是错的)。当我使用Konqueror和Firefox进行测试时,它运行良好(一些小问题)但是当我用IE 6.0进行测试时它没有显示或者它混乱了一切。我曾尝试使用各种
示例(条件)来解决IE问题,但它们导致了更多他们修复的问题。我喜欢把所有的IE放在一起,但它大约占我流量的33%,所以可能不是一个好主意。

任何人都可以指向网站解释如何设计围绕IE的问题?我用谷歌搜索了,但我似乎得到了点滴和单调的信息。
>I''m in the process of redesigning my web page and started working more
with CSS. I have, what I think is, a nice web layout (I''m no expert so
I could be wrong). When I tested it with Konqueror and Firefox it
works well (a few minor problems) but when I test it with IE 6.0 it
doesn''t display or it jumbles everything up. I''ve tried using various
examples (conditionals) to get around IE problems but they are causing
more problems that they fix. I''d love to drop IE all together but it''s
around 33% of my traffic so probably not a good idea.

Can anyone point me to site that explain how to design around IE''s
problems? I''ve googled but I seem to be getting dribs and drabs of
information.



要做的第一件事就是检查你的网站是否有错误,在主要部分的css和html上都有一些

。站点在你的信号中,查看

验证器。另外,你需要使用xhtml吗?通常

最好保留:

<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.01 // EN"

http://www.w3.org/TR/html4/strict.dtd">


First thing to do is to check your site for errors, there a few
in both css and html on the "main" site in your sig, look up in
validators. The other thing, do you need to use xhtml? Usually
best to keep to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">



这是一个很好的建议,我会从XHTML 1.0 Transitional

回到4.01严格,看看是否放松了首先运行我的页面

和css通过适当的工具来查看它们确实是多么正确。

This is a good suggestion, I''ll fall back from XHTML 1.0 Transitional
to 4.01 strict and see if that loosens things up first and run my page
and the css through the appropriate tools to see how correct they
really are.


IE 6存在很多问题,你最好的策略是首先让你的代码尽可能地变成kosher。除此之外,

是你遇到的具体问题?
There are a lot of problems with IE 6 and your best strategy is
to first get your code as kosher as possible. Beyond that, what
are the specific problems you have?



我会在检查完代码后立即回复您(在一天内或

两次)。


谢谢!


-

Linux家庭自动化Neil Cherry nc ***** @ linuxha.com
http://www.linuxha.com/ 主站点
http://linuxha.blogspot.com/ 我的HA博客
http://home.comcast.net/~ncherry/ 备份网站

I''ll get back to you as soon as I''ve checked the code (in a day or
two).

Thanks!

--
Linux Home Automation Neil Cherry nc*****@linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site


Neil Cherry写道:
Neil Cherry wrote:

>

有人能指点我解释如何设计IE的

问题?
>
Can anyone point me to site that explain how to design around IE''s
problems?



IE6有很多CSS问题。避免它们的最好方法是从

clean开始,语义标记 - 建议使用HTML 4.01 Strict。并保持它

简单,特别是如果你不是非常流利的CSS。随着技能水平的提高,你可以逐渐转向更复杂的设计。只是不要b
尝试咬掉比你咀嚼更多的东西 - 你最终只会乱七八糟,

可能在所有浏览器中不仅仅是IE。


了解各种定位方法和盒子模型如何工作对于避免一般问题大有帮助,所以

请先了解这些。规格见
http://www.w3。 org / TR / CSS21 / visuren.html


IE'的怪癖是由各种条件触发的,所以你必须采取

在确定解决方案时,他们是个别的。确定原因和解决方案的两个最佳来源是
http://www.positioniseverything.net/explorer.html
http://www.quirksmode.org/bugreports/index.html

quirksmode.org列出所有浏览器的错误并且还有JavaScript和HTML

错误。有一节致力于IE 5-6。值得庆幸的是,

在IE7中已经纠正了最糟糕的IE6错误,但这并不意味着IE7

没有错误。当然,没有浏览器没有错误。


-

Berg

IE6 has many CSS troubles. The best way to avoid them is to start with
clean, semantic markup - HTML 4.01 Strict is recommended. And Keep It
Simple, especially if you are not very fluent in CSS. You can gradually
move to more complex designs as your skill level increases. Just don''t
try to bite off more than you can chew - you''ll only end up with a mess,
probably in all browsers not just IE.

Understanding how the various positioning methods and the box model are
*supposed* to work goes a long way to avoiding problems in general, so
please learn these first. The specs are at
http://www.w3.org/TR/CSS21/visuren.html

IE''s quirks are triggered by a variety of conditions so you have to take
them individually when figuring out a resolution. The 2 best sources for
identifying the cause and work-around(s) are
http://www.positioniseverything.net/explorer.html
http://www.quirksmode.org/bugreports/index.html

quirksmode.org lists bugs for all browsers and has JavaScript and HTML
bugs in there as well. There is a section devoted to IE 5-6. Thankfully,
the worst IE6 bugs have been corrected in IE7, but that doesn''t mean IE7
is bug-free. No browser is bug-free, of course.

--
Berg


这篇关于讨论IE的网站陷入困境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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