What approaches are there to give an element padding and/or margin using Foundation For Emails 2 and its templating language Inky?
I have found two ways to add a padding to an element coding an email (that works in most mail clients):
- give a td element padding
This is apparently the most commonly used approach to lay out an email. But when adopting Inky in your workflow, the td element is merged into the
- "Tables by nature take up as much space is available to them. Because of this, centering columns can be done by adding empty columns to left and right of the column to be centered."
Here's the problem you'll have to stick to the grid. I have noticed you can customize in how many cells the grid is divided but still, the design would have to be making use of a grid as well.
These are the approaches I have found while googling and going through the documents of Foundation For Email 2. Am I overlooking something or did I misunderstand something or is Inky only meant to be used in combo with a grid-based design?
As an extra question, how would I align an element vertically using Inky?