Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在不同行中显示具有不同单元格宽度的表格_Html_Css - Fatal编程技术网

Html 在不同行中显示具有不同单元格宽度的表格

Html 在不同行中显示具有不同单元格宽度的表格,html,css,Html,Css,如何使用不同行中的“display:table”调整此未对齐?我这样做是为了在没有jquery函数的情况下,每行的高度相等。 计算宽度和负边缘用于边界间距和边界折叠 守则: *{ 字体系列:“投石机MS”,Arial,无衬线; 大纲:无; } html, 身体{ 保证金:0; 填充:0; 背景色:rgba(2212212211); } /*限制:每种颜色的颜色都要与所需颜色的颜色进行对比,并在颜色/像素宽度上加上标签*/ .表包装器{ 边际上限:0; 保证金权利:1%; 页边距底部:0; 左

如何使用不同行中的“display:table”调整此未对齐?我这样做是为了在没有jquery函数的情况下,每行的高度相等。 计算宽度和负边缘用于边界间距和边界折叠

守则:

*{
字体系列:“投石机MS”,Arial,无衬线;
大纲:无;
}
html,
身体{
保证金:0;
填充:0;
背景色:rgba(2212212211);
}
/*限制:每种颜色的颜色都要与所需颜色的颜色进行对比,并在颜色/像素宽度上加上标签*/
.表包装器{
边际上限:0;
保证金权利:1%;
页边距底部:0;
左缘:1%;
填充:0;
背景色:rgba(255,0,0,1);
}
.tables包装器div.table{
宽度:计算(100%+40px);
显示:表格;
边界塌陷:分离;
边界间距:20px 0;
边缘底部:20px;
左边距:-20px;
填充:0;
}
.tablewrapper div.table:最后一个子级{
页边距底部:0;
}
.tablewrapper div.table div.row{
显示:表格行;
}
.tablewrapper div.table div.row div[class^='cellwidth']{
显示:表格单元格;
空单元格:隐藏;
填充:0;
垂直对齐:顶部;
背景色:rgba(255、255、255、1);
}
.tablewrapper div.table div.row div[class^='cellwidth']:第一个子{}.tablewrapper div.table div.row div[class^='cellwidth']:最后一个子{}.tablewrapper div.table div.row div.cellwidth1{
宽度:1%;
}
.tablewrapper div.table div.row div.cellwidth2{
宽度:2%;
}
.tablewrapper div.table div.row div.cellwidth3{
宽度:3%;
}
.tablewrapper div.table div.row div.cellwidth4{
宽度:4%;
}
.tablewrapper div.table div.row div.cellwidth5{
宽度:5%;
}
.tablewrapper div.table div.row div.cellwidth6{
宽度:6%;
}
.tablewrapper div.table div.row div.cellwidth7{
宽度:7%;
}
.tablewrapper div.table div.row div.cellwidth8{
宽度:8%;
}
.tablewrapper div.table div.row div.cellwidth9{
宽度:9%;
}
.tablewrapper div.table div.row div.cellwidth10{
宽度:10%;
}
.tablewrapper div.table div.row div.cellwidth15{
宽度:15%;
}
.tablewrapper div.table div.row div.cellwidth20{
宽度:20%;
}
.tablewrapper div.table div.row div.cellwidth25{
宽度:25%;
}
.tablewrapper div.table div.row div.cellwidth30{
宽度:30%;
}
.tablewrapper div.table div.row div.cellwidth33{
宽度:33.3333%;
}
.tablewrapper div.table div.row div.cellwidth35{
宽度:35%;
}
.tablewrapper div.table div.row div.cellwidth40{
宽度:40%;
}
.tablewrapper div.table div.row div.cellwidth45{
宽度:45%;
}
.tablewrapper div.table div.row div.cellwidth50{
宽度:50%;
}
.tablewrapper div.table div.row div.cellwidth55{
宽度:55%;
}
.tablewrapper div.table div.row div.cellwidth60{
宽度:60%;
}
.tablewrapper div.table div.row div.cellwidth65{
宽度:65%;
}
.tablewrapper div.table div.row div.cellwidth66{
宽度:66.6666%;
}
.tablewrapper div.table div.row div.cellwidth70{
宽度:70%;
}
.tablewrapper div.table div.row div.cellwidth75{
宽度:75%;
}
.tablewrapper div.table div.row div.cellwidth80{
宽度:80%;
}
.tablewrapper div.table div.row div.cellwidth85{
宽度:85%;
}
.tablewrapper div.table div.row div.cellwidth90{
宽度:90%;
}
.tablewrapper div.table div.row div.cellwidth95{
宽度:95%;
}
.tablewrapper div.table div.row div.cellwidth100{
宽度:100%;
}
/*诀窍:要有足够的能力来满足你的需求*/
/*
.tablewrapper div.table{表布局:固定;}
.tablewrapper div.table div.row div[class^='cellwidth']{最小宽度:1%;宽度:1%;最大宽度:1%;}
*/
/*限制:科隆大学的所有国际性课程都是在德沃诺大学和拉赫扎大学之间进行的*/
.tablewrapper div.table div.row div[class^='cellwidth']div.headerimage{
位置:相对位置;
溢出:隐藏;
保证金:0;
填充:0;
垫底:50%;
}
.tablewrapper div.table div.row div[class^='cellwidth']div.headerimage img{
位置:绝对位置;
宽度:100%;
排名:0;
底部:0;
左:0;
右:0;
保证金:自动;
}
.tablewrapper div.table div.row div[class^='cellwidth']div.cellcontents{
保证金:0;
填充:20px;
}
/*.tablewrapper div.table div.row div[class^='cellwidth']div.headerimage+div.cellcontents{填充顶部:20px;}*/
.tableswrapper div.table div.row div[class^='cellwidth']div.cellcontents h1.celltitle{
保证金:0;
填充:0;
颜色:红色;
字体大小:150%;
}

牢房名称100%Lorem ipsum dolor sit amet,奉献精英。
细胞名称30%Lorem ipsum dolor sit amet,连续培养精英。
牢房名称70%Lorem ipsum dolor sit amet,奉献精英。
细胞名称30%Lorem ipsum dolor sit amet,连续培养精英。
细胞名称40%Lorem ipsum dolor sit amet,连续培养精英。
细胞名称30%Lorem ipsum dolor sit amet,连续培养精英。
牢房名称100%Lorem ipsum dolor sit amet,奉献精英。
细胞名称25%Lorem ipsum dolor sit amet,连续培养精英。
细胞名称25%Lorem ipsum dolor sit amet,连续培养精英。
细胞名称25%Lorem ipsum dolor sit amet,连续培养精英。
细胞名称25%Lorem ipsum dolor sit amet,连续培养精英。
单元名称50%Lorem ipsum dolor sit amet,