Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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