We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

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于修改

more options

You're welcome