Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:42:50+00:00 2026-06-15T09:42:50+00:00

i am coding Email newsletters. i have seen some guidelines regarding Good email coding..

  • 0

i am coding Email newsletters. i have seen some guidelines regarding Good email coding..
i want to ask about css code for Email newsletters for example its preffered to code inline css but for some free templates i found code like this

       <style type="text/css">

       body { color:#000; background-color:#fff; font-family:Arial, Helvetica, sansserif; text-align:center; }
       h2 { color:#2255DB; font-size:16px; margin-top:15px; margin-bottom:0px; }        
       h2 a:link { text-decoration:none; }
      .footer { fontsize:11px; text-align:center; color:#2255DB; }// and son on 

       </style>

in body code for fotter is like

    <p class="footer" style="color:#2255DB;"> footer...</footer>//again style  tag

and sometimes i found like this total inline styling ..

    <span style="font-weight: bold; width: 525px;">
    Lorem ipsum dolo
    </span><br><br>// and son on  ,,  

Both the above mentioned codes are working fine in Email clients
i have also seen standards from Campaign monitor etc, so i am confused which style is better .. should we use style in as in above mentioned code and or total inline coding , Please if someone can clear me about this ..it would be great favor

EDIT :
once coded is there any free service that can help to check if its valid code for mail clients ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:42:51+00:00Added an answer on June 15, 2026 at 9:42 am

    To make sure that the HTML newsletter looks as close as the designs I would definitely use inline styling.

    Unfortunately you have to be very specific with your styling, otherwise some software (Gmail for instance) will override your style declarations. It is a real pain sometimes, but it’s worth doing it that way IMO.

    Same thing goes for HTML email signatures.

    So definitely go for the inline styling 🙂

    Oh, and one more thing. I know that it’s 2012 and loads of designers/front-enders advice to use html tags (even html5 elements) in HTML emails and signatures, but I’d try to stick to the old-school way and use tables to make sure there is no unnecessary artefacts with the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have created a pdf file from coding and i want that pdf file
I am sending email newsletters using php mail() function. I have to track the
I have couple of iPhone apps that sends an email via code. I've noticed
In my app, I have email sending code. It's quite plain-vanilla (pasted at end
I'm just starting with coding (HTML and CSS) and I have to create an
We are using this coding to send email from an ASP.Net code-behind Vb.Net file.
I'm coding a simple little class with a single method send an email. My
I have been navigating the briar patch that is e-mail newsletter design and coding.
Recently when coding and HTML email, I noticed that Yahoo! started hijacking certain links
hi all how to implement coding for get email id's from contacts and get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.