Forum Moderators: open

Message Too Old, No Replies

HTML email in Hotmail

spacing problem

         

zollerwagner

6:59 pm on Nov 17, 2006 (gmt 0)

10+ Year Member



Hello, I'm creating HTML email stationery for a client.

(Yes, we are aware of the difficulty and the problems associated with HTML email, so no need to go there.)

I've tweaked the stationery so that it works well on every platform but Hotmail.

The problems are that Hotmail:
-- with <DIV>s and <P>s there is extra space before and after the line, although it seems to vary depending on where the <DIV> or <P> appears.
-- seems to ignore CSS margins, so I can't set Margin: 0.

This makes the emails look silly, with lots of extra space.

Is there anyway to control the extra line spacing?

floriniri

6:18 am on Nov 18, 2006 (gmt 0)

10+ Year Member



Did you tried to replace <p> with <br>? It should look better, mine does. No solution for not reading css though, any ideea anyone?

penders

12:42 pm on Nov 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



-- seems to ignore CSS margins, so I can't set Margin: 0

Does that include margins set with inline style attributes?

encyclo

12:47 pm on Nov 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might be interested in this earlier thread, in particular the post by Don_Hoagie (post #:608568):

  • The Challenges of HTML Email - Proper coding for HTML Email Newsletter [webmasterworld.com]
  • zollerwagner

    8:13 am on Nov 19, 2006 (gmt 0)

    10+ Year Member



    Yes, Floriniri, the margins problem does include inline styles.

    Penders, I'll try the <br> idea. I've tried adding <br> in the main body of the stationery where we add text. That didn't work, but it might work in the parts that don't change (like th contact info). Good idea.

    Thanks for the link, Encyclo! That was a great post. Unfortunately, I didn't see any solution to these problems there.

    zollerwagner

    8:51 am on Nov 19, 2006 (gmt 0)

    10+ Year Member



    Well, the <BR> idea still created spacing problems, but this time in all of the email clients except my ISP's webmail.

    Unless someone has a good idea, I think I'm going to have to be satisfied with a crappy display in Hotmail. At least the content is there. It's just ugly.