<html> <head><style> table { width: 10px; } div.scroll { overflow: scroll; background: lightgreen; } </style></head> <body> <table><tr><td> <div class="scroll">xxx</div> </td></tr></table> </body> </html>