├── CSS-normalise.css ├── README.md ├── css-link-resets.md ├── css-normalise-no-comments.css └── old-CSS-resets.css /CSS-normalise.css: -------------------------------------------------------------------------------- 1 | /* General CSS normalisation - investigating common CSS seen in emails */ 2 | 3 | /* 4 | Normalise on all email clients 5 | Apple Mail, iOS Mail plus many more have preset margin and padding for the email body - this normalises it so rendering is consistent and designers can choose. 6 | */ 7 | 8 | body { 9 | margin: 0; 10 | padding: 0; 11 | } 12 | 13 | /* 14 | Fix for Outlook on Windows 15 | border-collapse to stop spaces between tables caused by border size 16 | mso-table-lspace / mso-table-rspace to ensure no left and right space is added next to tables - Outlook specific CSS attributes 17 | */ 18 | 19 | table { 20 | border-collapse:collapse; 21 | mso-table-lspace:0; 22 | mso-table-rspace:0; 23 | } 24 | 25 | /* 26 | Older versions of Samsung mail reset the font-size on