Jump to content

Space between lines


MARCELO

Recommended Posts

  • 4 weeks later...

Within the paragraph, its only line height that works. In case its between multiple maragraphs then  you can use either margin or padding. The best value for line-height is 1.6 em which means the height of the line is 1.6 times larger than the font size. So, you change the font size then the line height also adjusts itself.

p.your-class{

line-height: 1.6em;

}

 

Edited by Ingolme
Advertising
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...