简体   繁体   English

在HTML表格中,如何使垂直线可见(与默认水平线相同)?

[英]In an HTML table, how can I make vertical lines visible (the same kind as the default horizontal ones)?

Given that I'm allowed to use static JS and HTML tags (only those supported by IE6), how can I make vertical lines visible (the same kind as the default horizontal ones*)? 鉴于我可以使用静态JS和HTML标签(仅限IE6支持的标签),如何使垂直线可见(与默认的水平线*相同)?

*In a default HTML table you can see (subtle) horizontal lines. *在默认的HTML表格中,您可以看到(细微的)水平线。 I need vertical lines in the same style as those horizontal lines. 我需要与那些水平线相同风格的垂直线。

Are you talking about doing something like this? 你在谈论做这样的事吗?

http://jsfiddle.net/b7WK8/1/ http://jsfiddle.net/b7WK8/1/

td{border:1px solid #000;}
td {
    border-bottom: solid 1px #000;
}

Marking as deleted since RULES is deprecated... 自RULES弃用后标记为已删除...

Set `RULES` attribute along with `BORDER` attribute for the table. 为表设置`RULES`属性和`BORDER`属性。 ie: . 即:。 . .

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

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