为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why does firefox display the same html content differently depending on what domain is used to access the file (eg www.cityescapesphotography.com and www.city-escapes-photography.com appear differently)

  • 3 个回答
  • 6 人有此问题
  • 4 次查看
  • 最后回复者为 SquirrelBot

more options

I have two domain names that point to the same content, unfortunately, they display differently in firefox (although the same in IE). In particular, the font sizes are extremely different. The sites are www.cityescapesphotography.com and www.city-escapes-photography.com and the difference appears for any pages. There are, as far as I can tell, no css files that have an impact, and the html can be extremely simple (see /test-home.html). The browser is running concurrently on the same computer, displaying both pages concurrently, so configuration should not be a cause for differences. Cache has been cleared.

URL of affected sites

http://www.cityescapesphotography.com

I have two domain names that point to the same content, unfortunately, they display differently in firefox (although the same in IE). In particular, the font sizes are extremely different. The sites are www.cityescapesphotography.com and www.city-escapes-photography.com and the difference appears for any pages. There are, as far as I can tell, no css files that have an impact, and the html can be extremely simple (see /test-home.html). The browser is running concurrently on the same computer, displaying both pages concurrently, so configuration should not be a cause for differences. Cache has been cleared. == URL of affected sites == http://www.cityescapesphotography.com

被采纳的解决方案

Looks the same to me, too. Might be helpful if you specified a DOCTYPE, Character Encoding meta tag, and a Parse Model to give Firefox a chance of rendering those pages in the Standards Compliant mode, instead of the Quirks Mode. http://validator.w3.org/check?uri=http://www.city-escapes-photography.com/

http://en.wikipedia.org/wiki/Quirks_Mode

定位到答案原位置 👍 0

所有回复 (3)

more options

Both sites appear similar on my end.

more options

选择的解决方案

Looks the same to me, too. Might be helpful if you specified a DOCTYPE, Character Encoding meta tag, and a Parse Model to give Firefox a chance of rendering those pages in the Standards Compliant mode, instead of the Quirks Mode. http://validator.w3.org/check?uri=http://www.city-escapes-photography.com/

http://en.wikipedia.org/wiki/Quirks_Mode

more options

I had the exact same issue...the solution was one of those "duh...I'm an idiot" deals. With the site displaying in Firefox (using the domain name that is not displaying correctly), in the Firefox menu bar go to View > Zoom > Reset. Duh. Baddabing. :-)