foundation / inky

Convert a simple HTML syntax into tables compatible with Foundation for Emails.
http://foundation.zurb.com/emails
673 stars 107 forks source link

Spacer not working - outlook does not recognize px on td #104

Closed mir3z closed 4 years ago

mir3z commented 6 years ago

See this issue: https://foundation.zurb.com/forum/posts/47983-outlook-2010-spacer-issue

When rendering you add height <td height="'+size+'px" on td. According to above mentioned issue Outlook does not recognize px and <spacer /> does not work - which I can confirm.

The best solution seems to add height twice - with px and without it. What do you think?

The same issue in foundation-emails: https://github.com/zurb/foundation-emails/issues/725

marcandre commented 5 years ago

Looks good to me