简体   繁体   English

HTML / CSS:表格行的高度和边框颜色

[英]HTML/CSS: table rows height and border color

I have an issue with the border color in the table in this page: http://dl.dropbox.com/u/72686/print.html 我在此页的表中的边框颜色有问题: http : //dl.dropbox.com/u/72686/print.html

I've added an empty row and specified a height to add some vertical space before the table bottom row. 我添加了一个空行并指定了高度,以便在表格底部行之前添加一些垂直空间。

However I cannot change the border color of this row. 但是,我不能更改此行的边框颜色。 it is always gray. 它总是灰色的。 All the css code is inline. 所有的CSS代码都是内联的。

thanks 谢谢

Change 更改

 <tr style="height: 60px;"></tr>

To

 <tr style="height: 60px;"><td colspan="2">&nbsp;</td></tr>

Edit it looks like there are just two columns so i've changed the answer to reflect that. 编辑它看起来好像只有两列,所以我更改了答案以反映这一点。

Add your border style to the line and that should work. 将边框样式添加到该行,应该可以。

<tr style="height: 60px;"></tr>

Cheers. 干杯。

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

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