It produces the following result as a base for our email body: TABLE resets all the attributes influencing spacing ( cellspacing, cellpadding, border, width) in HTML attributes as well as in CSS.Everything has margin and padding set to 0.The crucial part is to reset all possible spacings at all levels: Here is the code of our basic table container: However, understanding these fundamentals on which we will later build is critical. In this article, I will stick to simple containers with sharp corners and white background, as implementing a container with rounded corners is a whole different story. We are going to start with a very simple 1x1 table that will allow us to apply the spacing later. So if you need a container with some spacing, using a table is a good choice.
#Google docs table cell vertical alignment how to
If you missed the introduction, read Basics & how to test generated emails. This article is a part of the Implementing emails in 2021 series.