Web page style is garbled until clicking refresh in firefox?

丶灬走出姿态 提交于 2019-12-13 05:36:40

问题


I have a page that when it loads in firefox 8.0 some users report the layout is all distorted. Clicking refresh fixes the issue. I can't figure out how to test this since it displays just fine on my machine. No reported Javascript errors, and again, it works fine after pressing F5

Edit:

You may view this page http://www.sc-pa.com/content/search_real_property.asp


回答1:


As others have said in the comments, it is a caching issue, some users are using your site with an old version of your css.

Always use the version number of the website to avoid the issue in the future

<link rel="stylesheet" href="/include/css/site.css?v1.01"  type="text/css"  />


来源:https://stackoverflow.com/questions/8154423/web-page-style-is-garbled-until-clicking-refresh-in-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!