Ya, I tried myself. It seems tables have their own display
properties, unlike a div, which worked fine.
I tried to insert a div in the td tag and that worked
<table style="width:100px; ">
<tr>
<td ><div style="word-wrap:break-word; width:
100px">llllllllllllllllllllllllllllllllllll</div></td>
</tr>
</table>
Hope you can change your code structure...
On Mar 5, 4:47 pm, Rakesh <[email protected]> wrote:
> I have a table layout like
> <table>
> <td>
> longwoooooooooooooooooooooooooooooooooooooooooooooooord
> </td>
> </table>
>
> I have tried inserting here <td style="word-wrap:break-word"> but it
> does nothing.
>
> Any work around to fix this?
>
> I should not use any JavaScript?
>
> Your answers will be greatly apprceiated.
>
> Thanks
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]