📜  在页面中间对齐表格 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:25.083000             🧑  作者: Mango

代码示例1
table#yourTable {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -(H/2)px -(W/2)px;
    width: Wpx;
    height: Hpx;
}