HTML & CSS in gmail
I have an e-commerce site, and I'm sending HTML emails out when a person places an order, when I need to update people of orders, etc. To my surprise, I found out today that these emails (designed in HTML and using CSS inside a <style> block) look horrible in gmail.
I did some research online and so far I've found out that CSS only works inline on gmail. Since my emails have many different purposes, they all have different templates. To go back and change all of them to include inline CSS would take me a long time. Does anyone know of a workaround to force gmail to use the CSS <style> blocks instead?
There is no workaround, you have to obey what the developers of Gmail decided to develop. One more or less simple way is to just keep your e-mails simple, too. Most of the time there is absolutely no need for complex layouts and designs and what not.
Originally Posted by alliv105
Didn't think there was any, but worth the try. I just think writing code with inline CSS is redundant at times; hopefully gmail and hotmail will catch up with the rest of the world sooner rather than later ;-/