WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2004, 11:54 AM
WebProWorld New Member
 

Join Date: Apr 2004
Location: Indonesia
Posts: 15
printas RepRank 0
Default Creating HTML Email

I'm creating an HTML email newsletter. I have already design the page in Dreamweaver and using external stylesheet CSS to control the look of the page and text formating. I have set all links, source files, and the CSS style sheet to absolute link.

When I sent the html mail and open it in Outlook, Outlook Express, and Yahoo Mail, everything looks good exactly like what I had design it in Dreamweaver. It looks just like if I open the page in Internet Explorer.

But, if I open the same html mail in Hotmail and Google's Gmail, the formating that is link to the CSS, is not carried over. It didn't have all the formating I had made with the CSS.

Where should the relative stylesheet code of the css be place in the html page so that Hotmail or Gmail or any other web based email program does not ignore the external css style sheet I have use for the html mail.

I have heard that you should put the CSS stylesheet below the <body> tag because these web based email normally strip out your <HTML>, <HEAD>, and <BODY> tags. But is it valid to put a style sheet link under the body tag?
Reply With Quote
  #2 (permalink)  
Old 09-09-2004, 05:15 PM
WebCraft's Avatar
WebProWorld Pro
 

Join Date: Jul 2003
Location: New Hampshire
Posts: 110
WebCraft RepRank 0
Default

Can I ask, "What is your reason for html email?"
If you want to convey a message using html created pages, try using a newsletter or announcement client to live on your server, then send everyone a plain text link.

The reason is some may have more of a problem seeing your message in html than you experienced.

People will also appreciate the speed from which that email opens.

Good luck.
__________________
"Take a break from your computer, and know that there is a world outside the door"
Scott S.
http://veritycreative.com/
Reply With Quote
  #3 (permalink)  
Old 09-10-2004, 09:23 AM
WebProWorld New Member
 

Join Date: Apr 2004
Location: Indonesia
Posts: 15
printas RepRank 0
Default My Customers Wants HTML Email

Hello WebCraft,

Thank you for your reply.

I did not asked the question whether I should send an html email or text email newsletter, nor did I asked which ones is better for newsletter or announcement.

Therefore, please help if you can, based on the question I asked.

Secondly, out 1500 clients we have, 1458 of them requested that newsletter we send to them is an HTML version. We tried text email announcement before, and many don't like and they don't bother to visit the site.

Therefore, why give something to your customers what they don't want? They want HTML announcement/newsletter, so that's why we're going to give them HTML newsletter.
Reply With Quote
  #4 (permalink)  
Old 09-10-2004, 10:49 AM
mike's Avatar
Administrator
 

Join Date: Jun 2003
Location: In the back, off the side and far away
Posts: 1,809
mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11mike RepRank 11
Default

I do not agree with dumping html email. Plain text is boring and asking people to click a link to read an email you sent them is inefficient and will crush your opening rates. Of course if you're just sending a text link you would have no idea what your opening rate was in the first place, but I digress...

Your problem with the web based email clients is a known issue and unfortuunately, it is intentional. Hotmail, gmail and several others are stripping graphics and in many cases stylesheet formatting from messages. Users can click a button to view the message 'as intended' however they must click this button every time. The default is 'no images' and there is apparently at this time no way to set the default otherwise.

It's funny because in any other circumstance, if I send you a message and a third party, cuts, chops, edits, or otherwise alters the message it would be considered a hack.

It is the equivalent of a TV station ripping the video out of all commercials and broadcasting the audio only. Unfortunately, the situation is likely to get worse before it gets better. Microsoft's much ballyhooed XP update is rumored to have a similar feature for Outlook.

I detect the unmistakable reek of impending litigation on this practice.
__________________
WebProNews Videos
Reply With Quote
  #5 (permalink)  
Old 09-10-2004, 04:18 PM
WebProWorld Member
 

Join Date: Jun 2004
Posts: 25
jlknauff RepRank 0
Default

I've run into the same thing. To top it off, there wasn't a lot of uniformity to it. It showed improperly in my Hotmail account, but most other people got it fine. I did find that if I used CSS on page rather than external I had less problems, and NO problems when I resorted to tables (gasp-tables?!) I plan to keep experimenting until I get it just right. Email me your email address and I'll let you know when I come up with a solid solution-for some reason I don't get notifications to my posts here.
__________________
Article Directory - Submit your articles for free backlinks & exposure!

Marketing Tips
Reply With Quote
  #6 (permalink)  
Old 09-10-2004, 04:18 PM
WebProWorld New Member
 

Join Date: Jan 2004
Posts: 2
jeremysowen RepRank 0
Default

I wasn't aware of the image issue mentioned above but can tell you that I do not use external style sheets or javascript on html emails because they tend to be less reliable in email readers. I usually use standard html tags and for headers or specific text I care more about being displayed exact I use both html tags and in-line styles since I have seen that often a web-based html reader will reak havoc on styles since they have their own defined as well. In-line styles will always take priority to avoid this issue and if style doesn't work then the html tag should keep it looking nice.

I also try to always use a white page background color and always keep my content contained in a table no more than 600 pixel wide since I know using 100% tables used to cause problems in AOL and possibly others.

Also, regarding the HTML/text email issue I send my emails to contain both header types so that 95% of people see the HTML as I hope and the few that only allow text are simply given a hyperlink to view a web page.
__________________
Shopping Cart Review
http://www.shoppingcartreview.com
Reply With Quote
  #7 (permalink)  
Old 09-10-2004, 04:20 PM
WebProWorld Member
 

Join Date: Jan 2004
Location: Canada
Posts: 43
newconceptdesign RepRank 0
Default It is not a rumour

XP SP2 adds image blocking to Outlook. In order to see them you have to click at the bar that appear at the top of the message. It seems annoying but I like this feature.
Reply With Quote
  #8 (permalink)  
Old 09-10-2004, 04:59 PM
WebProWorld New Member
 

Join Date: Sep 2004
Posts: 3
jollyjumper RepRank 0
Default

Hi,

Except from experiencing some problems with hotmail I also experience problems with the application Mail that's used on Mac OS X. The version I use to test my html messages doesn't support CSS styles at all. This gives at least one big disadvantage, the repeating of background images.

I understood that newer versions of Mail do support CSS styles, but upgrading Mail can only be done by upgrading(equal to purchasing an update) your OS X.

If someone has some hints on this, I would really love to hear them.

Kind regards,

Jolly.
Reply With Quote
  #9 (permalink)  
Old 09-10-2004, 05:25 PM
WebProWorld New Member
 

Join Date: Sep 2004
Posts: 1
Aaranged RepRank 0
Default Re: Creating HTML Email

My company publishes three seperate HTML e-mail newsletters a week, and I encountered precisely the same problem.

My solution was a variation on your suggested one (placing a style sheet link under the body tag). In addition to linking to the newsletter's style sheet in the usual fashion (<link> in the <head> tag), I also included the content of the external stylesheet as an internal style sheet.

I discovered I had to place this in the <body> tag, since Web-based mail programs tend to ignore it if it's in the <head> tag. While this isn't strictly speaking legal in HTML, I've encountered no problems doing so. Specifically, I've tested this solution extensively in Outlook, Hotmail and Yahoo! Mail, and it works like a charm.

One final tip. If you haven't done so, create a class name for your all your links, and make sure it's added to all your hyperlinks. Styling your links generically in your stylesheet without including a class name (i.e, a:link, a:visited, etc.) isn't going to work because Web-based mailers will ignore your generic link styles in favour of their generic link styles (especially Hotmail).

Hope this helps!
Reply With Quote
  #10 (permalink)  
Old 09-10-2004, 08:31 PM
DrTandem1's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2003
Location: Encinitas, CA
Posts: 1,908
DrTandem1 RepRank 2
Default

Yes, because of security and not wanting spam porn to spill out all over my monitor, my web-based email has been optioned, by me, not to display images. Also, by doing this, the sender does not know whether the email was read, avoiding some continuing spam.

Trying to send anything to AOL is a crapshoot. It's like writing to someone in prison. If they even get the letter, it's a miracle. When they do, it will be full of holes where the warden (AOL) cut out things they don't want you to see.

After I have perused the email on the web and scanned any attachments for viruses and worms, I may open it for a closer look, at which point it may be taken off of the server and viewed via the email client on my computer.

There is no way, especially via e-mail, for you to be assured that your HTML documents, or any other documents for that matter are viewed in the way you desire. It is difficult enough to attain browser compatibility for a web page with the various browsers available and the various plug-ins the visitor may or may not have.

That being said, all of your links and external sheets containing Java and CSS should be absolute URLs. Send a test newsletter to yourself and view it on different browsers, resolutions and email clients including whatever web-based ones to which you have access.

Lastly, supply a text link as an option, if they are unable to view the contents of your email.
__________________
DrTandem's San Diego Web Page Design, drtandem.com
Reply With Quote
  #11 (permalink)  
Old 09-11-2004, 01:02 AM
WebProWorld New Member
 

Join Date: Apr 2004
Location: Indonesia
Posts: 15
printas RepRank 0
Default Learn My Lesson, Thank You.

Thanks to everybody that contributed to this post. I've learn so many lessons from all your post here; and now I have to go back to the drawing board, and try, test, test, and test again :)
Reply With Quote
  #12 (permalink)  
Old 09-11-2004, 01:15 AM
Deep13's Avatar
WebProWorld Veteran
 

Join Date: Dec 2003
Location: India
Posts: 306
Deep13 RepRank 0
Default

inline styles should help here

you might not be able to give mouse over effect to the links and all but rest should work fine..

example of inline style will be like this :
Quote:
<a href="http://test.com" style="letter-spacing:2px">Test< /a>
i will suggest not to use css for newsletters...

may be you can use simple html and different font properties..

for example...if you want to make body text as red then may be something like this will help <body text="red">

if you want to have thin order for the layout then instead of using class you can do something like this..

Quote:
<table width="600" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#FFFFFF">
<td>
put page content here...
</td>
</tr>
</table>
Regards
Deep
Reply With Quote
  #13 (permalink)  
Old 09-11-2004, 08:35 AM
AuctionHugh's Avatar
WebProWorld Member
 

Join Date: Jul 2004
Location: Kalamazoo Michigan
Posts: 78
AuctionHugh RepRank 0
Default

I don't send out html emails except what Yahoo and Outlook produces, but this is a very helpful thread for the future. Another reason why webproworld is such a great resource!

----
Small Business Web Design by AuctionHugh's Wife Kathleen
Artistic - Straightforward - EASY for You!
Examples and Pricing at www.kallenweb.com.
Reply With Quote
  #14 (permalink)  
Old 09-12-2004, 07:57 AM
WebProWorld Pro
 

Join Date: May 2004
Location: Sydney
Posts: 146
ozchris RepRank 0
Default

Alistapart has an excellent article on this subject:

http://www.alistapart.com/articles/cssemail/
Reply With Quote
  #15 (permalink)  
Old 09-13-2004, 12:09 AM
WebProWorld New Member
 

Join Date: Sep 2004
Location: Houston, TX, USA
Posts: 1
WebAndNet RepRank 0
Default SP2 & blocking images in Outlook 2000 or 98

Based on this URL http://www.microsoft.com/windowsxp/s...eoverview.mspx,

SP2 blocks download images in Outlook Express. Outlook 2003 already has download image blocking.

Does SP2 also block Outlook 2000 or 98?

I ask, because for some reason, I have it in my head that Outlook 2000 & 98 rely somehow on Outlook Express. And if Outlook Express is blocked, then would 2000 or 98?

Thanks,
Chen Sun
Reply With Quote
  #16 (permalink)  
Old 09-13-2004, 07:36 PM
Dragonsi's Avatar
WebProWorld Veteran
 

Join Date: Dec 2003
Location: Wales (UK)
Posts: 343
Dragonsi RepRank 0
Default

Some very interesting posts above but one thing is certain, the future of HTML newsletters is in doubt.

I have been producing an HTML newsletter for several years now and until this last 8 months or so, I had no compaints or problems in delivering these emails.

It is now becoming more and more common, not always through user-choice, that SPAM-blockers and image strippers are being utilised by email clients and mail-servers. The XP SP2 upgrade has been mentioned already but it is becoming very rare for any ISP provided email accounts not to have anti-spam as standard. These anti-spam spiders will block any email with a majority percentage of HTML code built in, restricting the recipiant from viewing the email in its original format, you just receive a load of text and code, very little is comprehendable or readable and 99% of the time, will get deleted before the end of the first sentance.

I do agree that email newsletters are best received in HTML format, they are more enjoyable to read and included images/photos can enrich the reading and encourage click throughs but with the rise of 'popular' blockers, another method will need to be utalised, such as the 2nd post above - where a plain text email links to a webpage - not the best - but could be the only way for the future.
__________________
www.westwalesweb.com
Website development & ICT solutions.
Reply With Quote
  #17 (permalink)  
Old 09-14-2004, 03:56 PM
WebProWorld New Member
 

Join Date: Aug 2004
Posts: 2
blueenergy RepRank 0
Default

The Alistapart article was very interesting. Some of the tricks I've already discovered like putting characters at the beginning of styles so that the dots don't get stripped.

Here's another little tip: Try to redefine existing HTML tags whenever possible. For example, I changed the style on the H3 tag and use it for headlines. Why? Because if your styles get stripped out completely, at least you'll have something that differentiates the headline from the rest of the copy.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0