Home CSS word wrap break word not working table

word wrap break word not working table

by Shahriar Sagor

Some times we are try with tr or td tag for give the word-wrap: break-word style css then it will not any affect. Then when i was try to give the word wrap css on my td tag i was saw it was not working same as for i did try this with span tag but same result. But when i was take div tag it was also working. So if we are give directly on the td or span then it take div tag inside the td tag and it will give css this way:

Example:

<td><div style="word-wrap: break-word;width:20px">My Level</div></td>

Read Also: Generate Captcha code and Validation by using BotDetect package in laravel

Thanks for read. I hope it help you. For more you can follow us on facebook

close

You may also like