| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| |
| <title>Overflow in Tables</Title> |
| |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| |
| <style type="text/css"> |
| div { border: dotted lime; } |
| </style> |
| |
| <table border=1 width=1> |
| <tr> |
| <td> |
| <div style="width:80px;"> |
| Truncated? It should not be! |
| </div> |
| </td> |
| </tr> |
| </table> |
| |
| <p>According to the rules of CSS, the text above should spill right out of the |
| table, as it does in the table-less case below:</p> |
| |
| <div style="width:80px;"> |
| Truncated? It should not be! |
| </div> |