body {
width: 350px;
margin: 0;
padding: 0 10px;
font-size: 14px;
font-family: Arial, sans-serif;
}
table {
border-collapse: collapse;
}
td {
width: 33%;
padding: 5px;
border-bottom: 1px solid lightgray;
vertical-align: middle;
text-align: left;
}
th {
width: 33%;
padding: 5px;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.cell-1 {
color: white;
background-color: darkcyan;
text-align: left;
}
.cell-2 {
color: white;
background-color: lightblue;
text-align: center;
}
.cell-3 {
color: white;
background-color: darkcyan;
text-align: right;
}
.column1 {
text-align: left;
}
.column2 {
text-align: center;
}
.column3 {
text-align: right;
}
.two {
background-color: lightyellow;
}
.four {
background-color: lightyellow;
}
[details=Summary]This text will be hidden[/details] Испытание: итоговая таблица
Итоговая таблица
Город | Посещений | % |
---|---|---|
СПб | 199 | 65.12 |
Москва | 69 | 21.3 |
Киев | 5 | 8 |
Посещений за весь период |