为什么人们仍然使用表格,内联CSS等?(why do people still use tables, inline css, et al? [closed])

编程入门 行业动态 更新时间:2024-10-23 03:17:00
为什么人们仍然使用表格,内联CSS等?(why do people still use tables, inline css, et al? [closed])

当你学习HTML等等时,这个口头禅始终是“干净的代码=更好的代码”。

那么为什么像Mobile Me,Google和Facebook这样的网站都使用大量的表格和其他不正确的代码呢?

谢谢!

When you learn HTML and so forth nowadays, the mantra is always "Clean code = better code".

So why do sites like Mobile Me and Google and Facebook all use huge amounts of tables and other not-semantically correct code?

Thanks!

最满意答案

不幸的是,人们仍然使用IE6,而且它在CSS上非常糟糕,以至于对于任何复杂的CSS选择器来说都几乎毫无价值。 在IE6消失之后,在寒冷的死地里死去,你仍然会看到很多这样的东西。

如果您可以看到SharePoint生成的内容,那么您可能会进入癫痫发作。

Because people still use IE6, unfortunately, and it's so incredibly bad at CSS as to make it almost worthless for CSS selectors of any sophistication. Until IE6 is gone and dead dead dead in the cold ground, you're still going to see a lot of this.

If you could see what SharePoint generates, you would probably go into seizures.

更多推荐

本文发布于:2023-07-31 20:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1347255.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:内联   表格   people   CSS   tables

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!