Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> * { box-sizing: border-box; } table { table-layout: fixed; border-collapse: collapse; width: 100%; max-width: 200px; } td { background: #86dbd7; padding: 20px; overflow: hidden; white-space: nowrap; width: 100px; border: solid 1px #666; } </style> </head> <body> <table> <tbody> <tr> <td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td> <td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td> </tr> <tr> <td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td> <td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td> </tr> </tbody> </table> </body> </html>