细表格的实现

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
	<title>很细边线的表格实现</title>
</head>
<body>
 <table cellpadding="10" align="center" bordercolor="#ff99ff" border="1" rules="all">
   <caption><font size="4" color="#ff99ff">VIP会员申请表   <font size="3"  color="#ff99ff">No:</font></caption>
    <tr>
      <th><font size="3" color="#ffccff">会员姓名</font></th>
      <td width="100"></td>
      <td width="80"><font size="3" color="#ffccff">出生日期</font></td>
      <td width="80"></td>
    </tr>

    <tr>
     <th><font size="3" color="#ffccff">身份证号</font></th>
      <td colspan="3"></td>
    </tr>
     <tr>
      <th><font size="3" color="#ffccff">通讯地址</font></th>
      <td colspan="3"></td>
    </tr>
     <tr>
      <th><font size="3" color="#ffccff">联系电话</font></th>
      <td colspan="3"></td>
    </tr>
     <tr>
      <th><font size="3" color="#ffccff">会员卡号</font></th>
      <td colspan="23></td>
    </tr>
 </table>
 
</body>
</html>

这里通过 rules="all" 实现了边框细化

rules 的属性有如下

none

 没有线条。
groups位于行组和列组之间的线条。
rows位于行之间的线条。
cols位于列之间的线条。
all位于行和列之间的线条。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值