Search code examples
cssgmailhtml-email

Font-Size in HTML Email via Gmail


Has anyone ever experienced a problem that, when a font-size style is applied to an element, the Gmail client isn't consistent when rendering? Example, I set the font-size to 17px and everything renders as too big, and then I set it to 16px and it becomes radically smaller.

Any input would be appreciated.


Solution

  • Use pt instead of px for font-sizes, seem to work for me.