Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1
Sign in to follow this  
HEi

How do I reduce the space between the lines of text?

Question

When I enter a line of text and then hit enter to insert another line of text below it the space between the lines is much larger then I would like. How do I fix this?

Edited by AlexisT
retag

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 7

Usually the Enter key starts a new paragraph. Depending on your CSS, the space between

elements is usually large.

You can use Shift-Enter to insert

<br/>

which are line-breaks within the same paragraph.

If you never want the space between paragraphs (e.g. new paragraphs have the same spacing as if you had continued your text to span multiple lines) - you can just inspect to find what CSS rule is responsible for that margin and remove it in your CSS. I can update my answer with the CSS you need to add if you link me to an example page.

Edited by olex

Developer at Thinkful.com Developed the Shutterstock Blog, and a few other SQSP sites while at Big Human. Formerly at Google.

Share this post


Link to post
  • 0

Thank you. I am not very familiar with CSS coding. I usually work in HTML 5. I want the space between the paragraphs to have the same spacing as if I continued my text to span multiple lines. What type of CSS code would I be looking.

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...