2013. december 31.

Word Wrapping inside tables on Blogger

I've had a little difficulty with one of my blogs.
I wanted to do a table with 3 columns, however, whatever I set for table with or column with it did nothing to fit the table into the required space.

Here's the solution, that worked for me:
<table style="table-layout: fixed; width: 100%;">
<tbody>
<tr><td style="word-wrap: break-word;">LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongWord</td></tr>
</tbody></table>

Nincsenek megjegyzések: