Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outlook rendering problem, rendering text too large

I'm trying to create a newsletter standard for our org and having problems with Outlook rendering the text too large.

Here is the css section of the page

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 75%;
    background: url(http://www.blah.com/stuff.gif);
    }
a {
    color: #f24c22 !important;
    }
a:visited {
    color: #f24c22 !important;
    }
a:hover {
    color: #3d7ac5 !important;
    }
table {
    background: #ffffff;
    }
h1 {
    font-size: 1.3em;
    }
h2 {
    font-size: 1.2em;
    color: #494949;
    padding-top: 0 !important;
    margin-top: 0 !important;
    }
h3 {
    font-size: 1.1em;
    color: #12377c;
    }
p {
    padding-top: 0 !important;
    margin-top: 0 !important; 
    color:#333333;
    }
   .style1 {color: #333333}
   .style2 {color: #12377c}
   .style3 {
       font-size: smaller;
       color: #666666;
   }

Any suggestions why this might be caused?

like image 702
Nonick Avatar asked Nov 05 '22 22:11

Nonick


1 Answers

Have you tryed using main *{font-size: 12pt;} ?

Outlook by default uses Trident, IE's engine for incoming mail, and Word HTML rendering engine for outgoing mail... Until Office 2007, and people hate it.

Now, it uses Word 2007's rendering, wich is rather lacking. On microsoft's page you can see that de body element doesn't support the style attribute.

like image 92
Esteban Küber Avatar answered Nov 15 '22 13:11

Esteban Küber