<html> <head><style> table { width: 10px; } div { background: lightgreen; padding: 0.2em; } </style></head> <body> <table><tr><td> <div style="overflow: hidden;"> a bb ccc dddd </div> </td></tr></table> <table><tr><td> <div style="overflow: auto;"> a bb ccc dddd </div> </td></tr></table> </body> </html>