简体   繁体   English

样式表在 chrome 中不起作用,在 Firefox 中工作正常

[英]stylesheet not working in chrome , working fine in firefox

Problem with css style sheet, its not working properly in chrome but working fine in firefox css 样式表的问题,它在 chrome 中无法正常工作,但在 Firefox 中工作正常

www.danafoods.ae www.danafoods.ae

There is lot of parsing errors in your CSS file ( http://www.danafoods.ae/wp-content/themes/wpnation/style.css ).您的 CSS 文件中有很多解析错误( http://www.danafoods.ae/wp-content/themes/wpnation/style.css )。

For Chrome, it may look that some of { } braces are left unclosed.对于 Chrome,可能看起来有些 { } 大括号没有闭合。 See the validation results, it should help you to fix errors:查看验证结果,它应该可以帮助您修复错误:

The W3C CSS Validation Service - CSS validation results W3C CSS 验证服务 - CSS 验证结果

You might want to first see why it can't find the missing wp-admin/admin-ajax.php that it's warning about - if you're trying to fetch css files through ajax, that might be preventing it.您可能想先看看为什么它找不到它警告的丢失的 wp-admin/admin-ajax.php - 如果您试图通过 ajax 获取 css 文件,那可能会阻止它。 Two things I'd try, have you tried running your site locally and seeing if it works in chrome on localhost?我会尝试两件事,您是否尝试在本地运行您的站点并查看它是否在本地主机上的 chrome 中工作? And also, have you got the correct permissions on those files/folders?而且,您是否获得了对这些文件/文件夹的正确权限?

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

相关问题 jQuery无法在Chrome中运行,但Firefox可以 - JQuery not working in Chrome but Firefox is fine ASCII代码在firefox中不起作用,但在chrome上工作正常 - ASCII code not working in firefox but on chrome working fine Vuejs活动无法在Firefox中运行 - 在Chrome中很好 - Vuejs event not working in firefox - fine in Chrome 日期计算在Chrome和Firefox中工作正常,但在Safari中工作不正常 - Date calculation working fine in Chrome and Firefox but not in Safari Javascript进度条无法在Chrome中运行,在Firefox中运行良好 - Javascript progress bar not working in Chrome, fine in firefox JavaScript 粘贴事件在 Chrome 但不是 Firefox 中工作正常 - JavaScript paste event working fine in Chrome but not Firefox JS函数与firefox和IE一起正常工作,但不能用chrome - JS function working fine with firefox and IE, but not with chrome scrollIntoView 无法在 Chrome 上运行,但在 Firefox 中运行良好 - scrollIntoView not working on Chrome but perfeclty fine in Firefox JavaScript无法在IE和Firefox中运行,在Chrome中运行良好 - JavaScript not working in IE and Firefox, works fine in Chrome HighCharts无法在Safari上运行,但在Firefox和Chrome上可以正常运行 - HighCharts not working on Safari but works fine on Firefox and Chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM