Avatar of Richard Korts
Richard Korts
Flag for United States of America asked on

HTML Email Font Size

We have an application that sends emails to customers with confirmation details about reservations made on line.

Can the font size of the email text be changed? For example, can the entire email body be enclosed in a <div> or a <span> like <div style="font: 14pt;">?

Thanks,
HTMLCSS

Avatar of undefined
Last Comment
Ess Kay

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
COBOLdinosaur

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Scott Fell

Yes.  Html email styles should all be inline.   However, you could apply the font to the body tag.  And in email, it is even recommended to go old school and used tables of tables instead of divs.
SOLUTION
Ess Kay

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ess Kay

Note, not all html email readers read the CSS or other languages. Some ONLY read HTML

So you will be limited to the basics
just fyi
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck