使用CSS表格 CSS表格能够解决所有那些我们在使用绝对定位和浮动定位进行多列布局时所遇到的问题.例如,“display:table;”的CSS声明能够让一个HTML元素和它的子节点像table元素一样.使用基于表格的CSS布局,使我们能够轻松定义一个单元格的边界.背景等样式,而不会产生因为使用了table那样的制表标签所导致的语义化问题.在深入了解这种方法之前,让我们先来写份HTML文档实例: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St
[问] I'm having trouble setting fixed widths on columns which use colspan. It seems that neither IE8, Firefox or Chrome can figure out how to correctly size columns with colspan. Try the following code to see the problem in action: <h2>One table with