Any one help me out how to remove extra spaces in the Email Notification

Chenna3
Kilo Expert

Hi,

Any one help me out how to remove extra spaces in the Email Notification.

Please find the below image for better understanding.

find_real_file.png

Thanks,

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Chenna,

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.

goto >>System Notification >> Notification >> open the notification where you want to remove spaces.

Click on source code (<> ) --> here check with HTML code and remove spaces.

find_real_file.png

 

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.

 

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hi Chenna,

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.

goto >>System Notification >> Notification >> open the notification where you want to remove spaces.

Click on source code (<> ) --> here check with HTML code and remove spaces.

find_real_file.png

 

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.

 

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep