At the moment, viewing this table on a small screen will produce a horizontal scroll bar. Instead, how do I force it to display full-wdith and "zoomed out" on small screens?
I'm trying to achieve what is happening on the right hand picture here: https://css-tricks.com/wp-content/uploads/2011/04/doublesuck.png
I'm hoping there is some sort of media query CSS I can use.
.td {
/* width: 100% !important; */
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
color: #2b2c37;
}
.tracking-provider {
text-align: left;
font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
color: #737373;
border: 1px solid #e4e4e4;
padding: 12px;
}
.tracking-number {
text-align: left;
font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
color: #737373;
border: 1px solid #e4e4e4;
padding: 12px;
}
.date-shipped {
text-align: left;
font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
color: #737373;
border: 1px solid #e4e4e4;
padding: 12px;
}
.order-actions {
text-align: left;
font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
color: #737373;
border: 1px solid #e4e4e4;
padding: 12px;
}
<table class="td" cellspacing="0" cellpadding="6" border="1">
<thead>
<tr>
<th class="tracking-provider" scope="col">Provider</th>
<th class="tracking-number" scope="col">Tracking Number</th>
<th class="date-shipped" scope="col">Date</th>
<th class="order-actions" scope="col"> </th>
</tr>
</thead>
<tbody>
<tr class="tracking">
<td class="tracking-provider">
Startrack </td>
<td class="tracking-number">
99999999999999 </td>
<td class="date-shipped">
<time datetime="2017-07-30">July 30, 2017</time>
</td>
<td class="order-actions">
<a href="http://google.com" target="_blank">Track</a>
</td>
</tr>
</tbody>
</table>