使用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.   

你可能感兴趣的:(css)