CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • f*$! outlook is defaulting to Times
Pages: [1]

Author Topic: f*$! outlook is defaulting to Times  (Read 546 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
f*$! outlook is defaulting to Times
May 16, 2011, 08:21:21 am
Hi,

Very common problem for my users: The default content (or pasted) is without inline style, so the each paragraph is displayed according to the default style for p in the theme.

Works fine, looks all good in the preview, all good in gmail (using Arial), but then when received in outlook, it defaults to times new roman, making the mail look like crap.

I have tried both CKEditor and TinyMCE, result is basically always bad.

I thought about implementing a tool that inlines the style (because of course, something as advanced as <style> can't be handled by word, so MS instead of fixing word decided to brake outlook).

Anyway, I would like to add a simple
<style>
p, ul {font-size:12px; font-family: Helvetica, Arial, sans-serif"}
</style>

And use one of these classes to automatically apply to each paragraph and inline the css.

http://classes.verkoyen.eu/css_to_inline_styles
http://www.pelagodesign.com/sidecar/emogrifier/

Hopefully it will allow civimail to generate better formatted mails.

Thought about defining a setting

 define( 'CIVICRM_MAIL_AUTOINLINE_STYLE' , 1 );


What do you think ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • f*$! outlook is defaulting to Times

This forum was archived on 2017-11-26.