VML 实现表格斜线(IE6测试通过)

来源:互联网 发布:淘宝怎么做关联销售 编辑:程序博客网 时间:2024/04/28 06:22

<HTML xmlns:v>  
<style>  
v/:* { behavior: url(#default#VML); }  
</style>  
<body>  
<v:line from="20,20" to="252.5,59.5"></v :line>
<table border='1' bordercolor='#000' width='700' style="border-collapse:collapse;" >
 <tr height='40'>
  <td align='left' width="33%">中华&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共和国</td>
  <td width="33%">中华人民共和国 </td>
  <td width="33%">中华人民共和国 </td>
 </tr>
 <tr height='100'>
  <td colspan='3'>中华人民共和国</td>
 </tr>
</table>
</body>  
</html>  

 

这个是MS的技术,似乎只支持IE