...

View Full Version : Override Default Font Size



css-quest
05-04-2011, 11:28 AM
I'm creating an email newsletter, using HTML and a seperate CSS stylesheet in addition. However, on testing the email, the default font size of the mail client overrides that of the font size specified in CSS for my "p" (or <p>) tag selectors.

Is there a way to override the default font size so my <p> tag selectors display the text in the font size I specify and not that of the default of the mail client?

Thanks in advance...

bullant
05-04-2011, 11:32 AM
Is there a way to override the default font size so my <p> tag selectors display the text in the font size I specify and not that of the default of the mail client?


I hope not, because the recipient should have the right to choose their own default font sizes rather the font sizes of the sender imposed on them.

mrjezz
05-04-2011, 04:01 PM
If you're creating an email, then really you're going to have to use inline styling, not a css sheet.

Unfortunately styling emails is a pain and requires ye olde coding methods to get the desired result across the various clients.

You might want to read this article (http://kb.mailchimp.com/article/how-to-code-html-emails/)for some advice.

css-quest
05-13-2011, 11:23 AM
Thanks for that link; that's been most helpful. I had heard you had to use the dratted tables before, but it's so annoying as the body for the layout for the email was supposed to be a replica of the layout of my XHTML valid webpage layout, which uses DIVs. Maybe not quite the copy and paste job I had hoped for initially, then.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum