How to remove extra space between two line in email

lucky24
Tera Contributor

Hi Team,

I have created  email client template and have used Contain type HTML,

find_real_file.png

I am getting mail like this

find_real_file.png

 

How can we remove those white extra space between two line ..?

Please guide me here

 

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi

the reason for the extra spaces is the same as in a Word Document: Between paragraphs you mostly have extra space whereas a soft line break has no extra space.

If you open the source code view of the mail text you will find something like this:

<p>1) Source:User</p>
<p>2) Destination</p>

The <p> tag represents a paragraph and per default paragraphs have margins at the top and at the bottom.

If you don't want to write CSS code you have to transform the HTML code like this

1) Source:User<br/>
2) Destination<br/>

The <br/> tag creates a soft line break.

Kind regards
Maik

Community Alums
Not applicable

Hi Lucky,

Email notification needs to be fixed. Check for any additional tags causing the white space. in email notification you could make use of source code button to identify additional tags in the html code.

Then, you can try following class added to the Page Specific CSS

 

body .padding-top {

        padding-top: 0rem;
}

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep