这个网站有很多CSS错误和警告。是不是意味着那样? [英] This website has lots of CSS errors and warnings. Is it meant to be like that?

查看:66
本文介绍了这个网站有很多CSS错误和警告。是不是意味着那样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

右键单击并选择inspect元素。然后在检查器选项卡上切换到控制台。过滤输出到CSS,控制台充满了警告和错误。如果您看不到,请点击此处查看我看到的内容。



我尝试了什么:



我没有尝试任何东西,因为我什么也做不了,即使我能解决它,我仍然没有代码所以..

Right click and select inspect element. Then switch to console on the inspector tab. Filter output to CSS and the console is filled with warnings and errors. If you cannot see it, click here to see what I see.

What I have tried:

I have not tried anything because I can't do anything and even if I could fix it, I still don't have the code so..

推荐答案

首先,如果那是您的网站,那么您需要聘请一位新的网页设计师/网站开发人员。因为,必须修复CSS / JavaScript和其他与DOM相关的错误,以便提供更好的(如果不是最好的)用户体验。

First off, if that is your website then, you need to hire a new web designer/web developer. Because, CSS/JavaScript and other DOM related errors must be fixed in order to provide better (if not best) user-experience.
引用:

是否意味着那样?

不,永远不应该。为什么要提供包含多个警告和错误的网页?



大多数错误是针对无效输入的,有些是特定于浏览器的问题。告诉您的Web开发人员支持主流浏览器,并编写特定于浏览器的代码;他可以使用HTML注释来启用/禁用浏览器中的CSS文件。还有很多其他方法可以解决这些问题,但是我会把它留给你的网站开发人员来解决它们。

*你的手,雇用一个知道警告是什么的新网络开发者,以及如何解决它。



仅仅因为您的网页在最新的谷歌浏览器或Firefox上完美呈现,并不意味着它是完美的。在所有浏览器中测试它,并删除错误......有很多方法可以解决问题,许多问题引入了很多解决方案,所以找一个。



其次,如果这不是您的网站。然后离开。

No, and never should be. Why would you want to deliver a web page that contains several warnings and errors.

Most of the errors are for invalid input, some are browser-specific issues. Tell your web developer to support major browsers, and write the code specific for a browser; he can use the HTML comments to enable/disable the CSS files in browsers. There are a lot other ways to solve these issues, but I would leave that in

* the hands of your web developer, to solve them.
* your hands, to hire a new web developer who knows what a warning is, and how to solve it.

Just because your web page renders perfectly on latest Google Chrome or Firefox, doesn't mean it's perfect. Test it across all browsers, and remove the errors... There are many ways to solve a problem, and many problems introduce a lot of solutions, so find one.

Secondly, if this is not your website. Then leave it.


这篇关于这个网站有很多CSS错误和警告。是不是意味着那样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆