@media screen and (max-width: 500px){ .divOutsideTable { overflow: scroll; max-width: 481.4px; min-width: 300.0px; } }