Despite spaces in the text, IE refuses to wrap without an explicit break. Both Firefox and IE still grow as the space is needed for text, despite overflow:hidden
Not sre what to do about this. Even with your suggestion Thogek, it still isn't working correctly.
The following is an exerp of the important part, javascript partially fills the main cell causing the overflow
td.main{vertical-align:mid
<table style="margin:auto;">
...
<tr class="h1">
<td colspan="4" rowspan="2" class="main">
Some div's an p's in here
</td>
</tr>
...
</table>
Main Topics
Browse All Topics





by: ThogekPosted on 2007-05-14 at 15:43:07ID: 19089059
Do you have any whitespace (spaces, tabs, etc.) within this data? If so, the text should wrap normally. If not...
overflow: hidden;
should work. If it's not, I'd be a bit concerned over figuring out why, which is likely to depend on the exact HTML and CSS you're using.
Other options include:
word-wrap: break-wrap;
word-break: break-all;
I'm not sure that these two are supported by Firefox, though...