当你学习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.
更多推荐
发布评论