This is pretty weird, a mail I received has the following definitions for the css:
<style type="text/css">
...NL-default {
font-family: "Arial";
font-size: 12px;
color: #000000;
}
...style1 {
font-family: "Arial";
font-size: 12px;
color: #0000FF;
}
...style4 {
text-align: center;
background-color: #F3F3F3;
font-family: "Arial";
font-size: 12px;
color: #000000;
}
...style7 {
text-align: center;
color: #FFFFFF;
background-color: #000080;
font-family: "Arial";
font-size: 12px;
font-weight: bold;
}
...style14 {
font-family: "Arial";
font-size: 14px;
color: #FF3300;
font-weight: bold;
}
Basically all styles have triple periods in front of them.
And it's applied in a matter like so:
<table style="width: 100%;" class="style41" cellSpacing="1" cellPadding="3">
<tbody><tr>
<td style="width: 233px;" class="style34" strong=""><strong>Notification</strong></td>
I believe most peoples' first intuition might be.. this won't work and you'd be right. On Chrome, Firefox and IE9, the CSS isn't applied to the mail body at all.
However, on IE8, it gets applied perfectly which bewilders me quite a bit. What's the purpose of putting triple periods in front of your CSS definitions? Why does this work only on IE8?