软件是对质量的不懈追求

使用css显示空白表格单元边框

When you create a html table and apply a border using CSS, then the empty cells do not have a border. So you pull out your CSS book and find empty-cells:show; and think your problems are solved but empty-cells is unsupported in IE…go figure. But I have found a combination of styles that work. Try this…apply the border-collapse:collapse; and empty-cells:show; to the table level and IE will display borders around empty cells.   

posted on 2009-11-14 13:30 BlakeSu 阅读(290) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: