How to increase the line spacing in Text field?

  • Whitegates
    Asked on September 13, 2017 at 2:34 AM

    Hi how can I change the line spacing please

    Thanks

    Chris

  • Nik_C
    Replied on September 13, 2017 at 3:54 AM

    If you were referring to Text field and writing in it, you can enter the new line by pressing Enter key or by pressing Shift+Enter key:

    How to increase the line spacing in Text field? Image 1 Screenshot 30

    With enter, space will be bigger and with Shift+Enter there will be no space. Also, there is line spacing CSS rule you could use, here is a useful guide: https://www.w3schools.com/cssref/pr_dim_line-height.asp.

    For example: 

    <p style="line-height: 50px;">test test test test&nbsp;<br /><br /></p>

    <p style="line-height: 20px;">pressed enter<br />pressed shift+enter test</p>

    <p>&nbsp;</p>

    How to increase the line spacing in Text field? Image 2 Screenshot 41

     

    If you have any further questions please let us know. 

    Thank you!