html - Using CSS { white-space: nowrap } with Outlook -


i have report lots of wide columns emailing directly out of sql. generating html dynamically have come across issue column widths.

i have inserted 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;  }  

now while html generated renders fine in ie, insists on wrapping cell contents onto 2 rows in outlook.

in internet explorer: as displayed in ie

in outlook as displayed in outlook

outlook our company wide email client don't need support multiple clients, need work nicely here.

and suggestions gratefully received.

that fact outlook uses word (not ie) rendering html markup of emails. supported , unsupported html elements, attributes, , cascading style sheets properties may find described in following articles in msdn:


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -