2

I am trying to remove the space between 2 consecutive paragraphs.

<p style="margin:0; padding:0;"> Text </p>
<p style="margin:0; padding:0; ">  more text</p>

I am using inline styles because I am trying to create html email. However it does not remove the spaces in Entourage email service.

user544079
  • 16,109
  • 42
  • 115
  • 171

1 Answers1

3

If that is the exact code you are using then padding;0; should be padding:0; in the first paragraph tag.

Jared
  • 12,406
  • 1
  • 35
  • 39
  • And you should put that inline css into a separate file, or at least within a ` – GolezTrol May 19 '11 at 20:43
  • 1
    For html emails the style must be inline or it will be stripped out by many email clients such as gmail. – Jared May 19 '11 at 20:44
  • @GolezTrol: How would a separate CSS file work with sending an HTML email? I was under the impression that it does not, or is not a good idea. – Wesley Murch May 19 '11 at 20:44