Hi,
How do you text-wrap something like this:
<table width="10%">
<tr>
<td>IWANTTHISLINETOBEBROKENWHENITREACHESTHEENDOFTHECOLUMN</td>
</tr>
</table>
Thanks,
Ashton.
Hi,
How do you text-wrap something like this:
<table width="10%">
<tr>
<td>IWANTTHISLINETOBEBROKENWHENITREACHESTHEENDOFTHECOLUMN</td>
</tr>
</table>
Thanks,
Ashton.
use WORD-BREAK:BREAK-ALL;
It's working in IE but not in firefox.
Ya, that's what I found too. Well, something similar:
.wrap { width: 125px; word-wrap: break-word; break-word: break-all; }
It only works on CSS3 compatible browsers though.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.