当border-collapse:separate时,对一个空的td,在IE中是显示不了边框的,如果想让他显示边框,加“ ”是一个不错的选择,那么还有其他方法可供选择吗?
在td不是很多的时候,还可以这样处理:
<style type="text/css"> td {behavior:expression((this.runtimeStyle.behavior="none")&&((this.innerHTML=="") ? this.innerHTML=" " : false));} </style> <table border="1"> <tr> <td></td> <td></td> </tr> </table>
You are currently browsing the xhlv's blog weblog archives for 'empty-cells' tag.