 |

01-12-2006, 08:27 AM
|
 |
WebProWorld Veteran
|
|
Join Date: Nov 2004
Location: UK
Posts: 505
|
|
why won't the mailer pick up the css?
we sent out an email flyer today and have been having major problems with the css. Some people are receiving the mail and it is not picking up the external style sheet at all and so looks naff naff naff!
Other people are receiving it with all the sty;es fine, but one major image is not appearing. The difference between this image and the others that ARE appearing is
1. Its a jpeg not a gif
2. It is put in using <td style="background-image:image.jpg;"> as opposed to <img src="....>
could anyone suggest why we might be having these issues? Thank you!
|

01-12-2006, 09:21 AM
|
|
WebProWorld MVP
|
|
Join Date: Jul 2003
Location: KCMO
Posts: 1,110
|
|
we've had that problem here. gmail is notorious for stripping out external CSS files. to combat this, we've started using inline styles, and this seems to have made the difference.
perhaps this approach may help you. altho, you do have to go back and declare each section you want a style attached to, which can be tedious...
__________________
Former WebProWorld Admin
|

01-12-2006, 02:28 PM
|
|
WebProWorld Member
|
|
Join Date: Oct 2005
Location: Chicago, IL
Posts: 27
|
|
We use inline styles
|

01-12-2006, 07:12 PM
|
 |
WebProWorld Veteran
|
|
Join Date: Nov 2003
Location: mid south USA
Posts: 385
|
|
old fashioned way
I send mine the old fashioned way with straight html. The only problems I have are that some hotmail people don't see anything unless they click on "reply", and most webtv people see it but a few don't.
Sometimes I put these people on the plain text only list and sometimes I suggest they get a yahoo mail account. Yahoo shows everything. So far.
I don't think there is a really perfect way to send an e mail formatted brochure or ezine.
I use "some" css on the rest of the pages of my web site. (As much as I'm capable of doing).
I tried sending everyone a plain text only e mail a couple of times with a link to the web page with the full version but very few people clicked on the link, so I'm back to the fully formatted version which has much better results.
|

01-13-2006, 04:20 AM
|
|
WebProWorld New Member
|
|
Join Date: Jan 2006
Posts: 1
|
|
i use inline css as many email client or web based email service do not load external css.
I'm looking for a way to include the image directly into the mail as most of the time, image are not loaded by email clients.
|

01-13-2006, 06:03 AM
|
|
WebProWorld New Member
|
|
Join Date: Jan 2006
Posts: 1
|
|
Inline Styles
Unfortunately it would seem that there is no guaranteed way to get styles to display is all email clients. It is always better to use inline styles and this seems to work in most case. We try to use old fasioned <font> tags wherever we can.
If you are going to include a background image in a cell, it is better to use <td background="blahbblah.jpg">, but some mail readers will block out a background image no matter what, so if you really want a certain image to display, you need to find a way to place it on the page normally, without using it as a background image. You just have to keep trying different methods until you find a format that appears readable and consistent in the majority of browsers.
Remember, for best results, keep your HTML as simple as possible, and you will have better results.
Regards,
David Lenehan.
http://www.infacta.com
|

01-13-2006, 09:08 AM
|
|
WebProWorld New Member
|
|
Join Date: Nov 2005
Posts: 5
|
|
Re: why won't the mailer pick up the css?
Quote:
|
Originally Posted by pagetta
Other people are receiving it with all the sty;es fine, but one major image is not appearing. The difference between this image and the others that ARE appearing is
1. Its a jpeg not a gif
2. It is put in using <td style="background-image:image.jpg;"> as opposed to <img src="....>
|
When doing HTML mailings it's best to use an absolute link to your images.
|

01-13-2006, 09:10 AM
|
|
WebProWorld New Member
|
|
Join Date: Jan 2006
Posts: 7
|
|
You might have already tried this but...
You might want to try using the full image path such as http://yourwebsite.com/images/imagename.gif instead of just the image name
if its in the email the code won't be able to find an image if its not reading the full path
|

01-13-2006, 11:11 AM
|
|
WebProWorld New Member
|
|
Join Date: Jan 2006
Location: New Jersey
Posts: 1
|
|
re: Why Won't the Mailer Pick Up the CSS?
Mark Wyner explains how to create compliant CSS formatted emails in his article “CSS and Email, Kissing in a Tree“. This is a great read and should answer most of your questions.
|

01-13-2006, 11:22 AM
|
 |
WebProWorld Veteran
|
|
Join Date: Nov 2004
Location: UK
Posts: 505
|
|
cheers for the tips - that article was v useful thanks eacevedo - I would recommend reading that to anyone who sends out HTML emails!
I did have the full image path for the background image - it was only in hotmail that it was stripping it out and apparently hotmail seems to have a mind of its own when it comes to reading css - majority of our targets wouldn't be using hotmail anyhow so not a massive issue.
|

01-13-2006, 11:26 AM
|
 |
WebProWorld Veteran
|
|
Join Date: Nov 2003
Location: mid south USA
Posts: 385
|
|
Thanks, eacevedo
Thanks for that link. I have added the "one <div>" tag to my own e mail newsletter and maybe.......just maybe......that will help with the hotmail people who can't read anything.
As mentioned before, I do my newsletter in straight html, no css at all....but still was having problems.
One of the great things about these forums is that when one person posts a problem a lot of the rest of us get assistance also!
|

01-13-2006, 02:34 PM
|
|
WebProWorld New Member
|
|
Join Date: May 2005
Location: California
Posts: 7
|
|
RE: why won't the mailer pick up the css?
Another avenue to alleviate this issue altogether, which we do on most HTML campaigns it to host the Newsletter, HTML campaign in a file on your server. This will mainating CSS as it cannot be stripped, stop image stripping from Outlook or other programs. An added benefit of this it will allow you to review on your server activity, an "Open Rate" to the newsletter or campaign by the acknowledgement of hits to the page, if you have links in the newsletter or HTML message you will also be able to track conversion from the message to the landing page as the action from one to another will create a refer hit.
Good Luck
|

01-13-2006, 02:35 PM
|
|
WebProWorld New Member
|
|
Join Date: May 2005
Location: California
Posts: 7
|
|
RE: why won't the mailer pick up the css?
Another avenue to alleviate this issue altogether, which we do on most HTML campaigns it to host the Newsletter, HTML campaign in a file on your server. This will mainating CSS as it cannot be stripped, stop image stripping from Outlook or other programs. An added benefit of this it will allow you to review on your server activity, an "Open Rate" to the newsletter or campaign by the acknowledgement of hits to the page, if you have links in the newsletter or HTML message you will also be able to track conversion from the message to the landing page as the action from one to another will create a refer hit.
Good Luck
|

01-14-2006, 04:29 AM
|
|
WebProWorld New Member
|
|
Join Date: Jan 2006
Posts: 1
|
|
Re: why won't the mailer pick up the css?
Do not use:
<td style="background-image:image.jpg;"> as opposed to <img src="....>
but use this instead:
<td width="200px" height="200px" background="some_image.jpg">
It works fine for me. Remember if you have no text or nothing inside your <td></td> tags you need to specify width and height or else you want see the background image at all.
|

02-08-2006, 02:38 PM
|
|
WebProWorld New Member
|
|
Join Date: Nov 2005
Posts: 20
|
|
styles in tables
styles + tables = buggy.
styles + tables + email clients = nightmare.
out of inline styles vs. straight html vs. external css hosting, hosting the css file is definitely the way to go. But use the box model.
Don Forrester
Bits LTD.;
Accela LLC.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|