如何修复页面以便在IE7中正确显示?

时间:2022-06-06 16:56:43

A reader has just brought to my attention that IE7 on Windows XP Professional, ver 2002, SP 2 displays pages such as http://beachpaper.com/issues/current/page28.html to look like beachpaper.com/zimgnav/bperror.jpg, by pushing the large JPG to the right. However, the home page, beachpaper.com, displays correctly for him and it's built from the same template. I built it using GoLive on a Mac and it looks fine in that outdated IE and all other browsers I've ever tried, so I'm at a loss at what to do. I ran it through the W3C validator and didn't see any likely suspects. Any suggestions would be greatly appreciated!

读者刚刚引起我的注意,Windows XP Professional上的IE7,版本2002,SP 2显示的页面如http://beachpaper.com/issues/current/page28.html看起来像beachpaper.com/zimgnav/bperror。 jpg,将大型JPG推向右侧。但是,主页posterpaper.com正确显示,并且它是使用相同的模板构建的。我在Mac上使用GoLive构建它,它在过时的IE浏览器和我尝试过的所有其他浏览器中看起来很好,所以我不知道该怎么做。我通过W3C验证器运行它,并没有看到任何可能的嫌疑人。任何建议将不胜感激!

2 个解决方案

#1


I went to a page on your site that didn't display correctly in IE, saved the source and DL'd the CSS and applied it to the page... and I've got the issue duplicated.

我去了你网站上的一个页面,该页面在IE中没有正确显示,保存了源代码并且对CSS进行了DL并将其应用到了页面......我得到了重复的问题。

And I think I found the problem.

我想我发现了这个问题。

The following line is causing the issue:

以下行导致问题:

<td rowspan="3" colspan="3" valign="top" width="800"><!-- InstanceBeginEditable name="Region" -->

If you remove the colspan="3" call, and make it look like this:

如果你删除colspan =“3”调用,并使它看起来像这样:

<td rowspan="3" valign="top" width="800"><!-- InstanceBeginEditable name="Region" -->

Well, then everything displays properly for me.

好吧,那么一切都适合我。

I'd like to spend more time on it, but I hope this helps.

我想花更多的时间在上面,但我希望这会有所帮助。

#2


Hard to tell from the limited information you've provided (and possibly hard to tell without seeing your entire source), but perhaps a tool like Firebug (or Firebug Lite, since you're on IE) can help you out. I've found that a small amount of real-time CSS editing solves most problems I encounter.

很难从你提供的有限信息中得知(如果没有看到你的整个来源,可能很难分辨),但也许像Firebug(或Firebug Lite,因为你在IE上)这样的工具可以帮助你。我发现少量的实时CSS编辑解决了我遇到的大多数问题。

#1


I went to a page on your site that didn't display correctly in IE, saved the source and DL'd the CSS and applied it to the page... and I've got the issue duplicated.

我去了你网站上的一个页面,该页面在IE中没有正确显示,保存了源代码并且对CSS进行了DL并将其应用到了页面......我得到了重复的问题。

And I think I found the problem.

我想我发现了这个问题。

The following line is causing the issue:

以下行导致问题:

<td rowspan="3" colspan="3" valign="top" width="800"><!-- InstanceBeginEditable name="Region" -->

If you remove the colspan="3" call, and make it look like this:

如果你删除colspan =“3”调用,并使它看起来像这样:

<td rowspan="3" valign="top" width="800"><!-- InstanceBeginEditable name="Region" -->

Well, then everything displays properly for me.

好吧,那么一切都适合我。

I'd like to spend more time on it, but I hope this helps.

我想花更多的时间在上面,但我希望这会有所帮助。

#2


Hard to tell from the limited information you've provided (and possibly hard to tell without seeing your entire source), but perhaps a tool like Firebug (or Firebug Lite, since you're on IE) can help you out. I've found that a small amount of real-time CSS editing solves most problems I encounter.

很难从你提供的有限信息中得知(如果没有看到你的整个来源,可能很难分辨),但也许像Firebug(或Firebug Lite,因为你在IE上)这样的工具可以帮助你。我发现少量的实时CSS编辑解决了我遇到的大多数问题。