为什么 Google 和 Twitter 使用表格布局? [英] Why do Google and Twitter use table layout?

查看:33
本文介绍了为什么 Google 和 Twitter 使用表格布局?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
使用是否有意义<表格>贴在现代"上的标签网站?

无论我走到哪里,我都看到不要使用表格布局,这是邪恶的,即使 Google 也这么说,那么为什么访问量最大的网站之一 Google 和 Twitter 将其用于主页?

Everywhere I go I see don't use table layout, it's evil, even Google says that, so why one of the most visited websites, Google and Twitter, use it for their homepage?

我不认为这是任何类型的错误,或任何其他愚蠢的问题.

I don't think it is any kind of mistake, or any other stupid problem.

我能想到的唯一原因是,即使客户端不支持 CSS,例如 Lynx,他们也希望页面看起来相似.

The only reason I can think of is, that they want the page to look similar even if client doesn't support CSS, like with Lynx.

如果互联网上最大的网站都在使用它,那么为什么每个人都说它如此糟糕.

So why everyone say it is so bad, if the biggest websites on the internet use it.

在我看来,在某些情况下,就像上面提到的那样,到处都具有相同的外观非常重要,而不是可以使用表格.

In my opinion, there are some cases, like those mentioned above, where it is vitaly important to have the same look everywhere, than it is OK to use tables.

edit:同样的问题涉及

等 html 元素,或者使用 align 属性和其他html 属性"格式化文本和用于替代 CSS 功能的元素"

edit: The same question goes about html elements like <center>, or formatting text with attribute align and other "html attributes and elements used to substitute CSS functionality"

推荐答案

页面加载时间对这些人来说是王道,带宽使用率极高.

Page load time is king for these guys, and bandwidth usage is extreme.

我不得不说他们使用表格来提高原始数据速度,因为他们每天都提供如此多的带宽.

I'd have to say they use tables for raw data speed, since they are serving up so much bandwidth every day.

另外,请注意他们在页眉中使用内联样式来减少 HTTP 请求的数量,以帮助加快页面加载时间.

Also, notice that they use inline styles in the page header to reduce the number of HTTP requests to help speed up page load time.

这篇关于为什么 Google 和 Twitter 使用表格布局?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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