為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

firefox doesn't render my web page correctly other browsers do

  • 4 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 xyzgeoff

more options

Hi My website works correctly in IE9, Safari, Opera and Chrome but Firefox doesn't render my Contacts page correctly. The contact form position is wrong and the navigation does not work for the Contacts page. The only issue is with Firefox which fails to render the Contacts page correctly. Both HTML and CSS validate.

The website is http://www.pcwebsite.org.uk

Hi My website works correctly in IE9, Safari, Opera and Chrome but Firefox doesn't render my Contacts page correctly. The contact form position is wrong and the navigation does not work for the Contacts page. The only issue is with Firefox which fails to render the Contacts page correctly. Both HTML and CSS validate. The website is http://www.pcwebsite.org.uk

所有回覆 (4)

more options

I see top:-500px in the page source:

So you position that table almost out of view. Why are you using this rule?
more options

thanks but as I posted the issues is that my website renders correctly using other browsers. It is only Firefox that does not render the Contacts page correctly.

more options

A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues. You need to register at the mozillaZine forum site in order to post at that forum.

I'm not sure if this is caused by the floating sidebar content as a style rule of clear:both or clear:left partially fixes this at least horizontally (it is still off to the left).

more options

thanks you for the link. I'll try that option next. But clearly since:

Internet Explorer 9,8, even 7 Chrome Safari and Opera

render the webpage correctly and there is no issue with validation of both HTML and CSS, then surely Firefox is not working to industry standards. I can use any browser I care to but I can't control what browser my potential clients use.

"I'm not sure if this is caused by the floating sidebar content as a style rule of clear:both or clear:left partially fixes this at least horizontally (it is still off to the left)."

There is nothing wrong with the code is there as it works perfectly with the other browsers listed above? Maybe I should put the whole web page in a table.

由 xyzgeoff 於 修改