搜尋 Mozilla 技術支援網站

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

了解更多

I have an index page that does not correctly load css, but css works on all other pages in the site.

  • 3 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

http://www.boulderridgecondos.com/ does not load the css correctly, but ALL other pages in the site do load the css correctly. There is nothing different (that I can identify) between the pages. http://www.boulderridgecondos.com/news.htm

I am guessing that there is something wrong in the css, I inherited this site and have gone over the css but can't find a issue that would cause this to occur.

Any help or suggestions to research something would be appreciated.

http://www.boulderridgecondos.com/ does not load the css correctly, but ALL other pages in the site do load the css correctly. There is nothing different (that I can identify) between the pages. http://www.boulderridgecondos.com/news.htm I am guessing that there is something wrong in the css, I inherited this site and have gone over the css but can't find a issue that would cause this to occur. Any help or suggestions to research something would be appreciated.

被選擇的解決方法

That page is saved as UTF-16 (Content-Type: text/html (BOM UTF-16, litte-endian)) in your text editor. The CSS file is send as ISO-8859-1. Firefox likes to see all files in the same encoding. The other pages are send as ISO-8859-1 and thus use that CSS file. You will have to re-save that page as ISO-8859-1 and upload that corrected version.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

選擇的解決方法

That page is saved as UTF-16 (Content-Type: text/html (BOM UTF-16, litte-endian)) in your text editor. The CSS file is send as ISO-8859-1. Firefox likes to see all files in the same encoding. The other pages are send as ISO-8859-1 and thus use that CSS file. You will have to re-save that page as ISO-8859-1 and upload that corrected version.

more options

Thanks, I actually resaved the file as UTF-8, not sure how that got changed, but it fixed the problem.

由 marc11h 於 修改