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 7055575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:45:55+00:00 2026-05-28T03:45:55+00:00

I made an HTML email which is displayed perfectly fine in Gmail, but with

  • 0

I made an HTML email which is displayed perfectly fine in Gmail, but with some strange hotmail errors. I have the following html


<?php
[..]

$mailTxt = "<div style=\"font:11pt/22pt Arial;color:black;width:100%;background:black;text-align:justify;\">
    <div style=\"height:150px;background:black;display:table;\">
        <div style=\"display:table-cell;width:160px;vertical-align:top;\">
            <img src=\""._BASE_URL."/inc/images/SingleDays-Mailing-Logo.jpg\" style=\"margin:25px;\">
        </div>
        <div style=\"display:table-cell;vertical-align:top;\">
            <h1 style=\"font:19pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;padding-top:40px;\">SingleDays Nieuwsbrief, ".$_POST['date']."</h1>
        </div>
    </div>
    <div style=\"background:white;margin:0 25px;padding:25px 10%;border-bottom:solid 1px #eee;\">
        <h2 style=\"font:17pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;text-transform:uppercase;\">".$_POST['s1']."</h2>
        <p style=\"text-align:justify;\">".$_POST['t1']."</p>
    </div>
    <div style=\"display:table;background:white;margin:0 25px;border-bottom:solid 1px #eee;\">
        <div style=\"display:table-cell;padding:25px;border-right:solid 1px #eee;width:50%;\">
            <h2 style=\"font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;\">".$_POST['s2']."</h2>
            <p style=\"text-align:justify;\">".$_POST['t2']."</p>
        </div>
        <div style=\"display:table-cell;padding:25px;width:50%;\">
            <h2 style=\"font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;\">".$_POST['s3']."</h2>
            <p style=\"text-align:justify;\">".$_POST['t3']."</p>
        </div>
    </div>
    <div style=\"display:table;background:white;margin:0 25px;\">
        <div style=\"display:table-cell;padding:25px;border-right:solid 1px #eee;width:50%;\">
            <h2 style=\"font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;\">".$_POST['s4']."
            <p style=\"text-align:justify;\">".$_POST['t4']."</p>
        </div>
        <div style=\"display:table-cell;padding:25px;width:50%;\">
            <h2 style=\"font:15pt/22pt Arial;letter-spacing:-0.5pt;color:#cc2439;\">".$_POST['s5']."</h2>
            <p style=\"text-align:justify;\">".$_POST['t5']."</p>
        </div>
    </div>
    <div style=\"background:black;color:white;\">
        <p style=\"margin-left:25px;\">Je ontvangt deze nieuwsbrief omdat je aangegeven hebt deze te willen ontvangen. Via <a href=\""._BASE_URL."/unsubscribe/".md5($receivers[$i])."\" style=\"text-decoration:underline;color:#cc2439;\">deze link</a> kun je je weer uitschrijven.

</div> </div>"; [..] ?>

This works perfectly fine in Gmail, but the problems occur in Hotmail (and since i’m working on an Apple without Office i can’t even check outlook..)

First of all, all my headings turn out green. I already tried an color:#cc2439 !important; but without any result, still green

Besides that are the margins handled incorrectly (which should be supported)

Problems seem pretty basic to me, so i was wondering if someone knows an easy solution I don’t have any clue how to solve the color issue.

EDIT:

Solved the color issue by replacing the heading elements with a paragraph. Apparently Hotmail’s stylesheet overrules user styled headers

  • 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-28T03:45:56+00:00Added an answer on May 28, 2026 at 3:45 am

    A few tips:

    1 – Campaign monitor has a good guide on what’s supported on different mail clients.
    http://www.campaignmonitor.com/css/

    2 – Exact Target (you have to pay) has an excellent service where it automatically tests your email on a variety of clients and makes screen-shots of them all, which you can view online or download as PDF.
    http://www.exacttarget.com/

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

Sidebar

Related Questions

I have a vertical menu in my system which is basically made of HTML
I had this working fine yesterday, made some changes and I have no idea
i have made a static site with only html static pages but now i
I have made an html wizzard for making order. There are four steps, in
I made a countdown timer and coded this in with HTML and CSS, but
I made some changes to an existing application that was previously just straight HTML
how can i made some nice slideshow for the index.html page, with lets say
A simple get request made to url on my server which returns HTML of
I have an Email body that used to be plain text, but now I've
I made a form using Javascript and HTML and have a send button on

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.