简体   繁体   English

Html:css 禁用用户代理样式表

[英]Html: css disable user agent stylesheet

I want to disable user agent stylesheet in my code.我想在我的代码中禁用用户代理样式表。 I lookes for it but the only answeres were:我寻找它,但唯一的答案是:

  1. Disable direct in the browser (makes no sense, because when i launche the website on a other website it's active again)直接在浏览器中禁用(没有意义,因为当我在其他网站上启动该网站时,它再次处于活动状态)
  2. Just override it (I could do that, but then I have to override 11 Attributs (would take to much pc power over large things))只需覆盖它(我可以这样做,但是我必须覆盖 11 个属性(在大型事物上需要很多 pc 能力))

I want to disable user agent stylesheet in my code.我想在我的代码中禁用用户代理样式表。

This is impossible.这是不可能的。

Just override it只需覆盖它

This is your only option.这是您唯一的选择。

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

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