Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Override Default Font Size

    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...

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    Quote Originally Posted by css-quest View Post
    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.

  • #3
    New Coder
    Join Date
    May 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 for some advice.

  • #4
    New Coder
    Join Date
    Nov 2010
    Posts
    48
    Thanks
    7
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •