Html 如何修复表中的每一列?

Html 如何修复表中的每一列?,html,css,wordpress,html-table,Html,Css,Wordpress,Html Table,我试图在下面的图片中阅读Wordpress中的源代码 我不知道他们如何修复每一列HTML/CSS,也不知道他们使用了什么 当您转到另一页时,列仍处于相同的位置 但当我在CodeIgniter中通过转到其他页面尝试分页/表库时,表是灵活的,并且依赖于单元格中的信息 图片如下: CSS中指定了宽度属性: .fixed .column-response, .fixed .column-author, .fixed .column-categories, .fixed .column-tags,

我试图在下面的图片中阅读Wordpress中的源代码

我不知道他们如何修复每一列HTML/CSS,也不知道他们使用了什么

当您转到另一页时,列仍处于相同的位置

但当我在CodeIgniter中通过转到其他页面尝试分页/表库时,表是灵活的,并且依赖于单元格中的信息

图片如下:


CSS中指定了
宽度
属性:

.fixed .column-response, 
.fixed .column-author, 
.fixed .column-categories, 
.fixed .column-tags, 
.fixed .column-rel, 
.fixed .column-role {
    width: 15%;
}
同样地,
元素是固定宽度的:

table.fixed {
    table-layout: fixed;
}
使用CSS属性,例如:

#mytable
{
    table-layout: fixed;
}

可以将div与width一起使用

<table>
    <tr>
        <td><div style="width: 200px;">
        test...
        </div></td>
        <td><div style="width: 600px;">
        test...
        </div></td>
    </tr>
</table>

测试。。。
测试。。。

这是关于表格单元格宽度(和行为)的吗?