Work with html layout for email is a real nightmare!
Well, my layout is almost finished, I spent 2 days working on it. The only problem I could not solve yet is related with word wrap. Here is a part of it:
But sometimes the content of the table cell (div) is a url (link) like this:
And here is the result:
My goal is to make this kind of url to be "word-wrap" inside the cell without expanding it. I already tried many ways to solve this, without sucess. Here is what I got so far:
<div style="width: 100%; word-wrap: break-word; overflow: auto; display: inline-block;">
Here is the complete code: https://jsfiddle.net/uayazs59/1/
Please, can someone help me? Thank you so much!!
It seems like the width of your link's
DIV
is making the whole table act improperly so change your width to a spicific amount like: width: 570px;
<div style="width: 570px; word-wrap: break-word; overflow: auto; display: inline-block;">