MARCELO Posted June 29, 2018 Share Posted June 29, 2018 HI. Is there any property i can use for specifying a certain space between two lines ? Link to comment Share on other sites More sharing options...
dsonesuk Posted June 29, 2018 Share Posted June 29, 2018 line-height, margin, padding are a few. Link to comment Share on other sites More sharing options...
webtrickshome Posted July 24, 2018 Share Posted July 24, 2018 (edited) 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 July 24, 2018 by Ingolme Advertising Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now