Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Html Emails

Featured Replies

Ok,

 

I'm looking to start some html emails for my website, i've got a newsletter cms and everthing already set up, but i want to send an email just like my website. I've tryed copying the style sheet with <style> tags and making sure "http://cssfx.net" is infront of all the images... and then adding the html file below

This is such a minefield. I've been sending out html emails recently and having done some extensive reading online, there's not easy way to get a "clever" html email to display the same in all email clients...

 

Some useful information at http://www.anandgraves.com/html-email-guide...

 

You'll get a mixed rate of hit and miss using a stylesheet. The most compicated I've built used tables and font tags with inline styles to make it look right in most clients...

 

Text formatting something like:

<font face="Arial" size="2" color="#000" style="font-family: Arial; font-size: 10px; color: #000;">Text in here</font>

 

Kinda thing...

 

Then you've got the issue of backgrounds... they're even trickier... Some just don't support them so no matter how hard you try they won't display. Coloured backgrounds in tables are the safest route as some email clients remove the body tag...

 

I hope that this help. Good luck!

Emails are a complete pain in the bum because many of the popular email clients (Outlook 2007, Hotmail, Gmail) have utter rubbish support for CSS.

 

I wouldn't bother trying to use your existing markup from your website - you need to start again using - gulp - tables for layout and using inline style attributes (style="bla bla").

 

Also, have a look at http://www.campaignmonitor.com/css/ for a good article on CSS support in email.

Sadly, what has been said is the best way.

 

Until email clients update to the year 2008 like the browsers you will have to rely on inline CSS, tables and font tags, remembering that not all CSS will work, even if it is inline.

Like said before, making E-Mails is whole lot diffrent from making websites. Coding E-mails is like coding html in the 90's.

 

It poses the same problems as webdesign. A email that looks good in outlook, might not in gmail.

The graphical capabilities of different email clients varie a lot, it much worse than the different browsers. More info on this you can find here,

http://www.email-standards.org/

 

Another great article on how to code E-Mails can be found here,

http://www.sitepoint.com/article/code-html-email-newsletters

 

Well gl, E-mail coding can be such a pain in the ...

  • Author

Thanks for all the info guys. I'm going to have a look at it tonight, see what i can come up with!

 

Thanks again!

Oliver!

Thanks for all the info guys. I'm going to have a look at it tonight, see what i can come up with!

 

Thanks again!

Oliver!

 

Can someone tell me what part a designer would do to make a HTML email? Is it a photoshop job and slicing or is each image saved separately for each part and then a coder would place it?

Is CSS not always used to make it more friendly with email software? If so is it HTML and tables?

I get sent flat images, that I then cut up and mix in with the text using tables.

 

We try not to use backgrounds if possible, but if they're insisted upon, the design has to allow for the fact that it might not show in the email client.

 

CSS is supported in varying ways depending on the email client.

 

Also, have a look at http://www.campaignmonitor.com/css/ for a good article on CSS support in email.

 

That's a great article showing some of the differences in the clients.

 

HTH

As said above I have spent many years building HTMLs for companies the only really sure way is to use tables and direct font size, face.

Also it is worth reminding people that you must remember to use complete URLs for Images the amount of times I have seen people wondering why the images won't work me included just to find it looking for a local folder. :D

As said above I have spent many years building HTMLs for companies the only really sure way is to use tables and direct font size, face.

Also it is worth reminding people that you must remember to use complete URLs for Images the amount of times I have seen people wondering why the images won't work me included just to find it looking for a local folder. :D

 

 

Thanks for the information. So as the designer you would typically produce a whole email page, pass it onto the developer whole slices it up? The reason I ask is that I have an interview on friday for a junior design role and they do produce html emails so I wanted some knowledge on the subject.

Example: http://www.game.co.uk/newsletter/

Thanks for the information. So as the designer you would typically produce a whole email page, pass it onto the developer whole slices it up? The reason I ask is that I have an interview on friday for a junior design role and they do produce html emails so I wanted some knowledge on the subject.

Example: http://www.game.co.uk/newsletter/

 

With most of the company’s I have worked with over the years I nave done the whole design but quite allot I will receive a designers image then create the html from that there is allot of bits to get right if the mail is not to get blocked by spam filters. A couple of hints that may help.

 

1. The smaller the better I try to keep every html below 10kb in size.

2. Try not to use too many images aim for around 75% text to 25% images.

3. Bad words Free, meds, anything else you see in proper full on spam.

4. Make sure the company you are supplying for are using good emails and clean lines or they are sure to blame your html when you don't get the response you expect.

 

I'm writing a full article explaining it all at the moment I will post it up when it is completed.

Hope this helps a little.

Skinny

Look forward to seeing that Skinny. I'm still muddling along at times, especially when our designers come up with complicated designs...

 

Cheers.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.