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
  • 15,221
  • 39
  • 109
  • 166

1 Answers1

3

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

Jrod
  • 12,150
  • 1
  • 34
  • 38
  • 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. – Jrod 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