Jump to content

the email template is stripping css from html


dswp

Recommended Posts

I am adding a newsletter html template with the css commented out in the head, and it is being stripped out, everytime I 'update' the html screen. PLUS, I see nowhere to attach an image- only insert directly.

 

This is my first html template -Am I way off here?

 

C.

Link to comment
Share on other sites

  • 1 month later...

Well the original problem that I was experiencing was due to including the opening and closing html tags with the doctype. So I was able to get the html newsletter to show but as reported by dswp, the css styles are getting stripped.

Link to comment
Share on other sites

I figured this out - apparently, this is a known problem/solution. It is good that the css is stripped from the head, because it isn't getting displayed across very many email clients anyway. So you have to actually add in-line styling to EVERYTHING. defeats the purpose of css, but anyhow, that's the way it 'tis! Once you get your template set up - (now I know why there is a TEMPLATE for emails!) you can just cut and paste the text in and out to avoid restyling everything!! Bleck!

 

good luck!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated