Ardeus
Ardeus

Reputation: 2001

Email Newsletter HTML: Table Cellspacing in Gmail Viewed in IE

I just realized while checking around, the <table cellspacing='10'> </table> doesn't work when I view my gmail in IE (I am using IE9).

But using FF or Chrome, its fine. I use my IE to view my Hotmail and Yahoo account that has the same newsletter, it has cellspacing just fine, so what happens to my IE when viewing my gmail acccount newsletter? Any clue?

Upvotes: 1

Views: 3146

Answers (2)

Dave
Dave

Reputation: 1429

I don't think border-collapse works any more. Wasn't working for me in IE10 gmail. What ended up working was removing the cellspacing from the table and adding padding directly to the td elements.

Out with the old:

<table cellspacing="10"><tr><td>...

In with the new:

<table><tr><td style="padding:10px">...

Upvotes: 0

derek
derek

Reputation: 46

If you add style="border-collapse: separate;" to the tag, it works in Gmail in IE. Still working on getting it to work in Outlook 2007/2010, haven't had the same luck.

Upvotes: 3

Related Questions