Jump to content

CSS in mails


Andy17

Recommended Posts

Hey guys,

 

So I am using PHP to send out html e-mails and I have included some styling within the head of my html code. This styling works in like half of the e-mail services (one is just Microsoft Outlook) I have tested, but services like Gmail and Hotmail seem to just disregard my CSS styling (I didn't test Yahoo!).

 

I was therefore wondering if I would be better off going oldschool and styling my e-mails with tables, hoping that would show in all the mails I send out?

 

Thank you.

Link to comment
Share on other sites

Actually, Outlook 2007 doesn't render CSS layout items (it uses Word 2007 as its html engine!!!) either.

 

I recommend that if you need your html to render in email (like for subscribers who want to see your new business/services products), you DO need go back to table based layout and inline tag styling (can't believe I have to say that). Microsoft is simply dedicated to making the life of developers difficult.

 

I actually had to remember how to code badly because with Office 2007 Microsoft decided to step backwards nearly 10 years to when Office '97 didn't have css layout support!

 

 

Link to comment
Share on other sites

I cannot believe it. I am using Outlook 2000 (lol) and it supports CSS. That's just weird. I never really made layouts by using tables because of CSS, so I guess I'll have to learn to be a bad coder! :) Thanks for your reply.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.