I am using a table to display a dataset, my HTML code is here ...
<table border="1" cellspacing="0" cellpadding="0" style="width: 780px;"> <tbody> <tr> <td style="width: 780px; height: 25px;"> <pre width='100' style='width: 780px; word-wrap: break-word;'> the data goes here..... </pre> </td> </tr> <tr> <td style="width: 780px; height: 25px;"> <pre width='100' style='width: 780px; word-wrap: break-word;'> the data goes here..... </pre> </td> </tr> </tbody> </table>
This table works fine in firefox, safari and IE8. But the problem arises in IE7, IE6 .. while the table expands and exits the screen (that is, expands to the right side along the x axis) .... is there a hack for it?
screenshots of IE6 in IETester:

html css html-table
Harish kurup
source share