如何设置表格行的边框颜色? [英] How can set border color for table row?

查看:81
本文介绍了如何设置表格行的边框颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要在表中制作边框颜色,如下所示:

I wants to make border color in table as given below:

<table><tbody><tr style="height:50px;border-removed1px solid #F9C004;">
<td>

</td>

</tr></tbody></table> 


我看不到边框颜色改变了吗?

注意:对于< table>< tbody< tr>的边框颜色是可能的. ?


I didn''t able to see as changed border color?

NB: Is possible for border color for <table><tbody><tr> ?

推荐答案

您需要定义边框颜色,样式和粗细才能看到定义的颜色.

试试:
You need to define border color, style and thickness to see a defined color.

Try:
<table style="height:50px;border-color: red; border-width:thick; border-style:solid">
   <tr>
      <td>
          some text
      </td> 
   </tr>
</table> 


样本:


一些文本


一些文本


Sample:


some text


Some Text


这篇关于如何设置表格行的边框颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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