简体   繁体   English

CSS样式表问题

[英]Issue with CSS stylesheets

I have been working on a site for a few days now and uploaded the site to test. 我已经在网站上工作了几天,并上传了网站进行测试。 In dreamweaver the site looks fine and the CSS styles are being applied. 在Dreamweaver中,该站点看起来不错,并且正在应用CSS样式。 In a browser the CSS does not take. 在浏览器中,CSS不使用。 I have checked and re-checked the links and cannot understand where the disconnect is happening. 我已经检查并重新检查了链接,但无法理解断开连接发生在哪里。 Here is the test site 这是测试地点

http://gbetza.mydomain.com/webservice2/test/Basso56/test/index.html http://gbetza.mydomain.com/webservice2/test/Basso56/test/index.html

Thanks for your help 谢谢你的帮助

Each time I load the site, your site.css file seems to be getting larger. 每次加载网站时,您的site.css文件似乎都在变大。 So I'm pretty sure this is a case of your site.css file not being up-to-date. 因此,我很确定这是您的site.css文件不是最新的情况。

If you get this file to the correct version, all of your issues should be fixed. 如果您将此文件升级到正确的版本,则应该解决所有问题。

Probably the cache. 可能是缓存。 Try cachebusting technique. 尝试使用缓存无效化技术。 Eg : add css/site.css?v2 例如:添加css / site.css?v2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM