Reputation: 676
I made a php script that generate and send emails with some statistics.
It works well but i have a tiny problem with my table.
Sometimes my columns are too "thin" and the content breaks into multiple lines like this :
i want to prevent this behavior.
I have tried two solutions :
white-space : nowrap; > doesnt work in outlook 2007
working with min-width > doesnt work in outlook 2007
Is there another solution that would work in outlook ?
Thanks
Upvotes: 3
Views: 6414
Reputation: 139
Using a nowrap on your prevents the text in td from breaking into multiple lines.
Eg: Doing <td nowrap> 10.9.6.80 </td>
should solve your problem.
Some source: w3school
Upvotes: 0
Reputation: 31
Please use HTML nowrap Attribute When present, it specifies that the content inside a cell should not wrap.
Sample usage
<td nowrap>Not Found!</td>
References: 1. w3.org 2. w3schools
Note: Praveen Innocent answer is good but I don't have enough reputation to add comments
Upvotes: 3