.wikitable3 > tbody > tr > td {
float: left;
text-align:left;
padding-left: 2px;
vertical-align: top;
width: 33.3%;
border-left: 1px solid #a2a9b1; /* Rand links zeichnen */
border-right: 1px solid #a2a9b1; /* Rand rechts zeichnen */
border-top: 1px solid #a2a9b1; /* Rand oben dünn zeichnen */
border-bottom: 1px solid #a2a9b1; /* Rand unten durch Hintergrundfarbe ausblenden */
}
.table-head {
border: 2px solid green;
background: lightgoldenrodyellow;
}
.xtable {
display: table;
border-spacing: 0.5em;
}
.xtable-cell {display: table-cell; border: 1px solid grey;}
.xtable-row {display: table-row; border: 1px solid red;}
.xtable-cell:first-child {
display: block;
width: 100%;
}
.spgrid {
background-color:grey;
color: #222;
margin: 0em 0;
border: 1px solid green;
border-collapse: collapse;
}
.spgrid th {
background-color: #eaecf0;
border: 1px solid #a2a9b1;
}
.spgrid td {
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 0.2em 0.1em;
line-height:1.4;
}
.spgrid .Leerzeile {
border-left: 0;
border-right: 0;
background: white;
}
.spgrid {
display: grid;
grid-template-columns: 100%;
width: 100%;
}
.spgrid th:first-child {
padding: 15px;
grid-column: 1;
}
.spgrid th:nth-child(2) {
padding: 15px;
grid-column: 3;
}
.spgrid td:first-child {
padding-top: 15px;
grid-column:2;
}
.spgrid td:nth-child(2) {
padding-top: 15px;
grid-column:4;
}
Vorlage:Test-Styles.css
Aus Securepoint Wiki