Hi,
I have HTML table in a web application. When long word grows it does not wordwraps.
How to Word-wrap in an HTML table?
Thanks
Hi,
You may try this code:
<style> td { border: 1px solid gold; } </style> <table style="table-layout: fixed; width: 100%"> <tr> <td style="word-wrap: break-word"> LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord </td> </tr> </table>
Thanks
Ads