Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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