0

I am not able to show the scrollbar (in Safari) when container size is smaller than a table. In this case, a horizontal scrollbar should get added to the table.

I've create the example fiddle (fiddle) which is showing the horizontal scrollbar in Chrome and Firefox.

table {
  width:100%;
    table-layout: fixed;
    border:solid 2px;

}
tr, td{
   border:solid 1px;
}
tbody{
      overflow-x: auto !important;
    display: block !important;
}

I followed the solution given in this question for Mac but still no luck.

Safari: V10.1

Please note that I can only add styles to the table, tbody etc, not to the upper container div.

GorvGoyl
  • 42,508
  • 29
  • 229
  • 225

0 Answers0