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

  • Home
  • SEARCH
  • 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 1104973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:33:31+00:00 2026-05-17T01:33:31+00:00

I created a small program in PHP which sends newsletter. It’s fine when I

  • 0

I created a small program in PHP which sends newsletter. It’s fine when I preview the HTML email template in a web browser. But when sent in mail it loses all the color formatting. Please help! How would I send an e-mail with full color?

Here’s the HTML code.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title> Newsletter</title>
        <style type="text/css">
            .AA {
                font-size: 24px;
                color: #FFF;
            }
        </style>
    </head>
    <body>
        <table width="100%" height="373" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="13%" bgcolor="#336699">&nbsp;</td>
                <td width="81%" bgcolor="#336699" class="AA"> NEWSLETTER</td>
                <td width="6%" bgcolor="#336699">&nbsp;</td>
            </tr>
            <tr>
                <td height="252">&nbsp;</td>
                <td align="left" valign="top">%content%</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td align="center">copyright company</td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </body>
</html>
  • 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-05-17T01:33:32+00:00Added an answer on May 17, 2026 at 1:33 am

    Use only inline styles, most HTML clients are not advanced enough to understand <style> tags.

    So instead of writing

    <td width="81%" bgcolor="#336699" class="AA"> NEWSLETTER</td>
    

    Writing

    <td width="81%" bgcolor="#336699" style="font-size:24px; color:#FFF;"> NEWSLETTER</td>
    

    will help.

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

Sidebar

Related Questions

I have created a small program which logs text data to a file on
I have created a small program to write XML-Comment for Properties(which dont have customer
I'm basically trying to play with recursions and created a small program that finds
I've created a small web service that returns some json, and the returned json
I created a small program, as follows: #include <math.h> #include <stdio.h> #include <unistd.h> int
I have a header-file, the COM interface. I have created a small win32 program
I want to globalize my application. I have created a small form which asks
I have created a small program to see if I'm as proficient in Python
I've created a small program wich can read a .txt file. This file contains
I've created a small java program and I want to launch it everyday at

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.