用于表单显示的表格标签很糟糕...但是像 rt 类型这样的调查问题呢?

发布于 2024-07-10 17:04:03 字数 487 浏览 8 评论 0原文

使用的设计是否不好在 html 中显示表单时使用表标签?

简而言之,这个问题的可接受答案:是...

...但是像这样的东西怎么样:

我真的想不出不同的 & 更好的解决方案。 该示例来自 SurveyMonkey,也使用表格。

对于此类 Likert 类型的问题使用表格标签仍然是糟糕的设计吗?

Is it bad design to use table tags when displaying forms in html?

The accepted answer to this question in short: YES...

...but what about something like this:

I can't really think of different & better solution. The example is from SurveyMonkey and uses tables too.

Is it still bad design to use table tags for such likert type questions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

时光暖心i 2024-07-17 17:04:03

这类问题更多地导致观点而不是确凿的事实,但我想说,在这种情况下,使用表格绝对没问题——您想要以表格形式显示信息。

只需使用表格标签,不要让人们让您为此感到内疚:-)

This type of question leads more to opinions than to hard and fast facts, but I would say that in this case it's definitely OK to use tables -- you're wanting a tabular display of information.

Just use the table tag and don't let people make you feel guilty for it :-)

归途 2024-07-17 17:04:03

使用表格本身也不错。 使用它们来使用无限嵌套的表格和不可见的图像来布局整个网站是很糟糕的。

It's not bad to use tables per se. It's just bad to use them to layout your entire site using infinitely nested tables and invisible images for space.

残龙傲雪 2024-07-17 17:04:03

在一些帮助下这并不难。
您可能会研究一下我们那里的一些基于网格的 css 库。
雅虎网格
蓝图
960网格系统

This is not very hard with some help.
You might look into some of the grid-based css libraries our there.
Yahoo Grids
Blueprint
960 Grid System

情场扛把子 2024-07-17 17:04:03

每个人都说“你应该只使用表格来存储表格数据”。 那么...这是什么意思?

这是我判断某些东西实际上是表格数据的标准:当你只能通过参考它的坐标、它相对于列标题和行标题的位置来知道它是什么/做什么时。

那么,在上面的例子中,第九个单选按钮的作用是什么?

除非您关注它所指的技能类型并查找您所声称的级别,否则无法知道它是什么。 因此,这是表格数据。

What everyone says is "you should only use tables for tabular data". So ... what does that mean?

Here's my criterion for when something actually is tabular data: when you can only know what something is/does by reference to its coordinates, its position in relation to column and row headers.

So, in the case above, what is the function of the ninth radio button?

There's no way of knowing what it is unless you look left to the kind of skill it refers to and look up to the kind of level you're claiming. Therefore, this is tabular data.

生生漫 2024-07-17 17:04:03

从可访问性的角度来看,恕我直言,将其布局为表格并带有适当的标签等会更有意义。正如安布罗斯所说,单选按钮的坐标赋予它们上下文含义。

你可以在没有表格的情况下进行布局,也许可以使用标签、标题和其他设备来理解它,但你真正能实现的唯一的事情就是展示你的 css-fu。

From the point of view of accessibility, IMHO, it would make more sense laid out as a table, with appropriate th tags etc. As Ambrose said, the coordinates of the radio buttons give them contextual meaning.

You could lay it out without a table, and maybe make sense of it using labels, titles and other devices, but the only thing you would really achieve would be to demonstrate your css-fu.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文