Currently I am facing an issue with column widths in a report that I am generating dynamically and emailing directly out of SQL. The HTML for the report is being generated dynamically but there seems to be a problem with the column widths.
I have added the following CSS:
#tableMain
TH {
text-align: center;
white-space: pre;
border: 1px solid black;
padding: 0;
border-spacing: 0;
border-collapse: collapse;
background-color: #f0f0f0;
font: 11pt bold arial sans-serif;
}
While the HTML renders fine in IE, it is causing the cell contents to wrap onto two rows in Outlook.
IE View:
Outlook View:
Outlook is the email client used company-wide, so I only need it to work correctly in this specific client. Any suggestions would be greatly appreciated.