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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • HTML email format is displayed incorrectly in the "View activity" screen
Pages: [1]

Author Topic: HTML email format is displayed incorrectly in the "View activity" screen  (Read 395 times)

aeszq

  • I post occasionally
  • **
  • Posts: 53
  • Karma: 0
HTML email format is displayed incorrectly in the "View activity" screen
January 23, 2014, 05:55:21 pm
Hi,

I find that the "view activity" screen doesn't keep the html email's format very well for an email activity. I think the main reason is because the"view activity" screen inserts a bunch of <br> and &nbsp; into the original HTML, and CIVICRM's CSS file also affects the email content. In my case, the html email contains quite a few tables.

Does anyone know how to fix this?

Thanks

George

bcaldwell

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
    • Pushing7
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.31
  • PHP version: 5.3.10
Re: HTML email format is displayed incorrectly in the "View activity" screen
April 08, 2014, 08:38:58 am
Am seeing the same thing with 4.4.4. Lots of extra break elements getting inserted for HTML email. Looks like if you minify the HTML in the email, that problem goes away, but there are also a few places in civicrm.css that are causing the inline CSS from the email to display differently than intended (ex. background colors, padding, borders, etc on td and th elements in #crm-container elements).

Would be great if that file could be updated to exclude some of these styles so that the inline styles get rendered as expected.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • HTML email format is displayed incorrectly in the "View activity" screen

This forum was archived on 2017-11-26.