dwightjack / grunt-premailer

Grunt wrapper task for Premailer
MIT License
114 stars 16 forks source link

border-collapse, border-spacing, border and width attributes #36

Closed marcobiedermann closed 8 years ago

marcobiedermann commented 9 years ago

border-collapse, border-spacing, border and width should be written as attributes, not css style.

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  width: 100%;
}

Should be:

<table border="0" cellpadding="0" cellspacing="0" width="100%">
</table>

Instead of:

<table style="border-collapse: collapse; border-spacing: 0; border: 0; width: 100%;">
</table>
dwightjack commented 9 years ago

Hi, as for #37 I suggest you to post an issue on the Premailer's issues list https://github.com/premailer/premailer/issues