So i was tasked to create a newsletter about raising money for cancer. I naturally accepted but i ran into a problem with the web-based email clients. ( i tried outlook.com and gmail.com ) the web based client dont seem to accept some of my styling.
In the 'regular' email clients everything shows as its supposed to. Screenshot to clarify.
In the web based i get the following.
Now i did some googling of my own and i found a list containing all the css support that multiple clients give : http://www.campaignmonitor.com/css/
My code is the following. (i cant paste it all so i'll just explain the most and then paste a part). The content exists of three tables. The header, body, and footer. The header and body share a gradient background and the footer has its own gradient background but it comes from the same code (simply called the class containing the styles again). Now i was wondering if there is a method to get my first result in all of the email clients. If this is not possible i shall accept the answer that gives the result that best reproduces the requested result.
Edit
To get the background of the footer to extend up and under the body i used a negative margin. Since this is not the best and secure way of coding could this cause one of the problems?
To sum up the things that are different:
- To much space in between the footer and body. (probably because of the code:
margin-top:-100; padding-top:100px;
- Background gradient of the footer doesn't show.
- Font styling changes in the content ( This could be browser related though(dont count this as part of the question but if you have a quick fix for this please share)).