兼容IE6

发布于 2024-12-05 00:14:33 字数 385 浏览 0 评论 0原文

我的网站在 IE6 上运行时遇到问题。

这是我第一次尝试网站设计,所以我实际上没有经验,我学到的一切都是在过去三到四天里学到的。

这是我作为 JSFiddle 的网站: http://jsfiddle.net/pgete/

我将其托管在我的个人电脑(糟糕的互联网):http://41.238.112.237/

我建议访问我个人电脑上的那个并查看它的图片。但如果它没有响应,请不要感到惊讶。

它在 FF6 和 IE9 上运行良好。我在 IE6 上尝试了一下,结果看起来像一个巨大的橙色池。

当我尝试开发网站时应该注意什么?

I'm having trouble getting my website to work with IE6.

This is my first attempt at website design, so I literally have no experience and everything I learned, I learned in the last three to four days.

This is my website as a JSFiddle: http://jsfiddle.net/pgete/

I have it hosted on my personal computer (HORRIBLE internet): http://41.238.112.237/

I'd recommend visiting the one on my personal computer to see it with pictures. But if it's not responding, don't be surprised.

It runs fine on FF6 and IE9. I tried it on IE6 and it turned out looking like a giant pool of orange.

What should I keep an eye out for when I'm trying to develop a website?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蹲在坟头点根烟 2024-12-12 00:14:33

除非您有非常具体的理由支持 IE6,否则就放弃它。说真的——微软甚至还针对它的消亡举办了一场不错的小活动。 http://www.ie6countdown.com/

为了让我的答案更具体一点,当 我设计一个网站时,会尝试考虑受众。例如,我开发的一个房地产网站可以在 IE7+ 上运行,并提醒 IE6 用户确实应该升级(旧网站的使用率约为 1-3%,因此这是可以接受的事情)。在我工作的技术驱动型网站上,我们只支持 IE8+ - 我们的大多数用户甚至不使用 IE 技术,因此将其提高一点并没有什么大缺点。

您可以使用如下网站: http://www.netmarketshare.com/ browser-market-share.aspx?qprid=1 来查找浏览器共享,如果您正在创建一个面向所有人的新网站,但是..除非您正在做某事,否则不要使用 IE6对于中国人来说似乎:)(基于微软网站)

Unless you have a very specific reason for supporting IE6, just drop it. Seriously - microsoft even has a nice little campaign about it's demise. http://www.ie6countdown.com/

To make my answer a little more specific though, when I design a site, I try and take into account the audience. For instance, a real estate site that I developed works in IE7+, with a note to IE6 users that they really should upgrade (usage on the old site was about 1-3%, so it was an acceptable thing to do). On the tech-motivated site that I work on for my job, we only support IE8+ - a majority of our users don't even use IE technology, so pushing that up a bit has no major drawbacks.

You can use sites like this: http://www.netmarketshare.com/browser-market-share.aspx?qprid=1 to find browser share if you're doing a new site that is for people across the board, but.. don't bother with IE6 unless you're doing something for the Chinese it seems :) (based off of microsoft's site)

满身野味 2024-12-12 00:14:33

如果你确实也需要为 IE6 设计页面,你应该看看这个 CSS-compatbilty- list

我想当前的主要问题是导航项的显示属性“inline-block”的使用。

IE6 不支持 inline-block

解决方法可能是将 display:blockfloat:left 设置一起使用

If you really need to design the page for IE6 too, you should take a look at this CSS-compatibilty-list

I guess the major problem currently is the use of the display-property "inline-block" for the navigation-items.

inline-block is not supported by IE6.

A workaround may be the use of display:block together with a setting of float:left

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文