Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make email stay on one line? Reply To: How to make email stay on one line?

#238023
knowledgenotebook
Participant

Here’s the code, also, the intended output would be Word doc, that is, the HTML output would be dynamically turned into a Word doc, and the problem of email wrapping to next line occurs in the outputted Word doc.


<style type="css/text"> body {font:8.7px Arial, Helvetia, sans-serif,Times New Roman; page-break-inside:avoid;}; table,th,td {font-size:8.5px; border:1px solid black;}; tr {line-height: 14px;}; #sameline {width: 80px; overflow: hidden; white-space: nowrap;}; // page-break-inside:avoid; </style> <table> <tr> <td colspan=2> <table border=0 valign=top> <tr><td>toName</td></tr> <tr><td>toAddress1 </td></tr> <tr><td>toAddress2</td></tr> <tr><td>toPhone</td></tr> </table> </td> <TD width="2%"></TD> <td colspan=2> <table border=0 valign=top> <tr><td>XYZ Bla Bla Bla Services </td></tr> <tr><td>P.O.Box 123 </td></tr> <tr><td>Mytown, Maryland 21218 </td></tr> <tr><td>www.mywhateverservices.com </td></tr> <tr><td id="sameline">[email protected] </td></tr> </table> </td> <TD width="2%"></TD> <td style="vertical-align:top">internal order Num </td> </tr> </table>

Thanks.