Forum Moderators: not2easy

Message Too Old, No Replies

Outlook 2007 and multiple classes

         

secrethobospices

7:36 pm on Feb 9, 2009 (gmt 0)

10+ Year Member



Hello,

I am having trouble finding information about Outlook 2007 and multiple CSS classes. For example, if I wanted to have something like:

<p class="bold red">This text should use both the 'bold' and 'red' classes (assuming they are defined)</p>

This doesn't seem to work. Can anyone confirm this or does anyone have more information about it?

Thanks!

Jon

simonuk

11:13 am on Feb 10, 2009 (gmt 0)

10+ Year Member



If you're talking about sending html emails with CSS then don't unless you know exactly what supports it and what the limitations are.

Outlook 2007 took a massive step backwards with regards to html emails and there is a ton of CSS it won't recognise. It uses the very limited support for HTML and CSS that is built into Word 2007 to display HTML email messages (Instead of the IE engine prior)

You can use inline styles instead of classes so <p style="color:red">hello</p> will work and you'll need to repeat it for all new elemtents.

I have to create a dozen html newsletters a year for work and I hate them all :-)