Я знаю, что этот вопрос задавался ранее, и решение действительно работает для меня, но мой стол - беспорядок. Посмотрите на стол справа, как это выглядит. Я хочу, чтобы это было больше похоже на таблицу слева. это. < /p>
Код: Выделить всё
.alignmentp {
text-align: left !important;
}
.table-fixed thead {
width: 97%;
}
.table-fixed tbody {
height: 230px;
overflow-y: auto;
width: 100%;
}
.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
display: block;
}
.table-fixed tbody td,
.table-fixed thead>tr>th {
float: left;
border-bottom-width: 0;
}< /code>
Speciale tarieven buiten 's-Herogenbosch
[i][/i]
#
Van
Naar
Normaal
Onze prijs
Korting
1
's-Hertogenbosch
Ammerzoden
€ 35,00-
€ 24,99-
30 %
2
Подробнее здесь: https://stackoverflow.com/questions/350 ... xed-header