Answer the question
In order to leave comments, you need to log in
How to solve the problem with vertical scrolling of tables through CSS?
Hello. I decided here to make the tables on the site scrollable horizontally for mobile devices, and that's the trouble.
For several hours I can not understand what's wrong. Everything looks like this:
<div class="table-wrapper">
<table>
<tr>
<td>content</td>
<td>...</td>
<td>content</td>
</tr>
</table>
</div>
.table-wrapper {
overflow-x: auto;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question