problem with the table width in IE?
Posted
by Harish Kurup
on Stack Overflow
See other posts from Stack Overflow
or by Harish Kurup
Published on 2010-06-14T06:27:09Z
Indexed on
2010/06/14
6:32 UTC
Read the original article
Hit count: 162
I am using table to display a set of data, my HTML code goes 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 ok in firefox, safari, and IE8. But the problem arise in IE7, IE6.. asthe table expands and goes out of the screen(i.e expands towards right hand side in x-axis).... is there any hack to fix it?
© Stack Overflow or respective owner