Have you ever tried to read a table on your phone that is wider than the screen? It’s like playing a game of ping-pong with your fingers, scrolling left and right, up and down, trying to catch all the data. It’s not fun, it’s frustrating. And it’s bad for your blog’s SEO too, because Google doesn’t like tables that make users work hard. That’s why you get the error Mobile Usability > Content wider than screen on Google search console.

But don’t worry, there is a solution. You can make your tables look good and be easy to use on small screens with some simple tricks. In this post, we’ll show you how to do that and improve your blog’s SEO at the same time.

.table-scroll {
  overflow-x: auto;
}
<div class="table-scroll">
<table class="table">
  <tbody>
    <tr>
      ...
    </tr>
  </tbody>
</table>
</div>

Output Result

Here is how the table will look in mobile, the table is horizontally scrollable.

Header1Header2Header3Header4Header5Header6Header7Header8Header9Header10Header11Header12Header13Header14Header15
Row:1 Cell:1Row:1 Cell:2Row:1 Cell:3Row:1 Cell:4Row:1 Cell:5Row:1 Cell:6Row:1 Cell:7Row:1 Cell:8Row:1 Cell:9Row:1 Cell:10Row:1 Cell:11Row:1 Cell:12Row:1 Cell:13Row:1 Cell:14Row:1 Cell:15
Row:2 Cell:1Row:2 Cell:2Row:2 Cell:3Row:2 Cell:4Row:2 Cell:5Row:2 Cell:6Row:2 Cell:7Row:2 Cell:8Row:2 Cell:9Row:2 Cell:10Row:2 Cell:11Row:2 Cell:12Row:2 Cell:13Row:2 Cell:14Row:2 Cell:15
Row:3 Cell:1Row:3 Cell:2Row:3 Cell:3Row:3 Cell:4Row:3 Cell:5Row:3 Cell:6Row:3 Cell:7Row:3 Cell:8Row:3 Cell:9Row:3 Cell:10Row:3 Cell:11Row:3 Cell:12Row:3 Cell:13Row:3 Cell:14Row:3 Cell:15
Row:4 Cell:1Row:4 Cell:2Row:4 Cell:3Row:4 Cell:4Row:4 Cell:5Row:4 Cell:6Row:4 Cell:7Row:4 Cell:8Row:4 Cell:9Row:4 Cell:10Row:4 Cell:11Row:4 Cell:12Row:4 Cell:13Row:4 Cell:14Row:4 Cell:15