Anonymous
Html таблица строка/сдвига столбца Сдвига One Up One Up
Сообщение
Anonymous » 28 янв 2025, 10:06
Как перенести ряд. Более конкретно, я хочу изменить «заполнение/наполнение трещин/маршрутизацию». /i.sstatic.net/iyrdxluw.png " /> < /p>
Код: Выделить всё
Pavement
body {
/* CSS Better Helvetica Font Stack */
/* https://gist.github.com/don1138/5761108 */
font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
/* bootstrap default color is not black, its dark grey */
color: #000000 !important;
}
.table > thead > tr,
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr,
.table > tbody > tr > th,
.table > tbody > tr > td {
border: 6px solid whitesmoke;
}
.table > thead > tr > th,
.table > thead > tr > td {
background-color: #777676 !important;
color: whitesmoke;
}
.table > tbody > tr:nth-of-type(even) > th:nth-last-child(3),
.table > tbody > tr:nth-of-type(even) > td:nth-last-child(3),
.table > tbody > tr:nth-of-type(even) > th:nth-last-child(2),
.table > tbody > tr:nth-of-type(even) > td:nth-last-child(2),
.table > tbody > tr:nth-of-type(even) > th:nth-last-child(1),
.table > tbody > tr:nth-of-type(even) > td:nth-last-child(1) {
background-color: gainsboro;
}
Service Summary - Completed Only
Report Timespan: 10/1/2024 to 11/1/2024
Service Group
Service
Count
Total
Crack Filling/Routing
Crack Filling
4
$5,095
Crack Filling/Routing Subtotal
4
[b]$5,095[/b]
Fiddle:
https://jsfiddle.net/5He8jdox/
Подробнее здесь:
https://stackoverflow.com/questions/793 ... row-one-up
1738048014
Anonymous
Как перенести ряд. Более конкретно, я хочу изменить «заполнение/наполнение трещин/маршрутизацию». /i.sstatic.net/iyrdxluw.png " /> < /p> [code] Pavement body { /* CSS Better Helvetica Font Stack */ /* https://gist.github.com/don1138/5761108 */ font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; /* bootstrap default color is not black, its dark grey */ color: #000000 !important; } .table > thead > tr, .table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr, .table > tbody > tr > th, .table > tbody > tr > td { border: 6px solid whitesmoke; } .table > thead > tr > th, .table > thead > tr > td { background-color: #777676 !important; color: whitesmoke; } .table > tbody > tr:nth-of-type(even) > th:nth-last-child(3), .table > tbody > tr:nth-of-type(even) > td:nth-last-child(3), .table > tbody > tr:nth-of-type(even) > th:nth-last-child(2), .table > tbody > tr:nth-of-type(even) > td:nth-last-child(2), .table > tbody > tr:nth-of-type(even) > th:nth-last-child(1), .table > tbody > tr:nth-of-type(even) > td:nth-last-child(1) { background-color: gainsboro; } Service Summary - Completed Only Report Timespan: 10/1/2024 to 11/1/2024 Service Group Service Count Total Crack Filling/Routing Crack Filling 4 $5,095 Crack Filling/Routing Subtotal 4 [b]$5,095[/b] [/code] Fiddle: https://jsfiddle.net/5He8jdox/ Подробнее здесь: [url]https://stackoverflow.com/questions/79392932/html-table-row-column-span-shift-row-one-up[/url]