I want to wrap some text that is added to a <td>
element.
I have tried with style="word-wrap: break-word;" width="15%"
.
But it is not wrapping the text. Is it mandatory to give it 100% width?
I have other controls to display so only 15% width is available.
To Wrap TD text
First set table style
table{
table-layout: fixed;
}
then set TD Style
td{
word-wrap:break-word
}