Knowledge Base

How to reduce line spacing in a signature template

Problem:

There is a large gap between the lines in your signature template created in CodeTwo Exchange Rules software.

Solution:

This happens when you press Enter to go to the next line (Fig. 1). 

247-1
Fig. 1. Two lines of text entered as separate paragraphs.

Signature editor used in CodeTwo Exchange Rules software interprets the Enter key as a start of a new paragraph and creates the following HTML code:

<P>First line</P>
<P>Second line</P>

To insert a single line break, press Shift+Enter instead of Enter (Fig. 2.).

247-2
Fig. 2. Single paragraph divided into two lines.

The HTML code will look as follows:

<P>First line<BR>Second line</P>

To remove large gaps between the lines in the existing template, simply place the cursor at the end of the upper line and press Delete (the lower line will be moved up to the upper one), and then press Shift+Enter. You can also edit the HTML source code in the signature editor. To access the HTML source code view, click the </> Source button on the Editor’s ribbon (Fig. 3.). In the window that opens, find the lines for which you want to reduce the line spacing and insert the <BR> tag instead of the paragraph tags (<P> and </P>, highlighted in Fig. 3.).

247-3
Fig. 3. Editing the HTML code in CodeTwo Exchange Rules.

See also: