How can I control space between paragraphs? I don't want the entire page or text to be affected I just want some of my paragraphs to be closer than the rest of the text! I am talking about vertical spacing not horizontal and I am not talking about spacing between letters or characters!
Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.
Spacing between paragraphs HTML code?
You can use css line-height property.
This will reduce spacing between paragraphs for the entire page!
But if you want only a few paragraphs to be affected the add to each of them either
style="line-height: 0;" or you can use top and bottom margin property!
For the top one!
For the bottom one!
Also check this topic space between lines
This will reduce spacing between paragraphs for the entire page!
Code:
body {
line-height: 0;
}
But if you want only a few paragraphs to be affected the add to each of them either
style="line-height: 0;" or you can use top and bottom margin property!
For the top one!
Code:
<p style="margin-bottom: 50px;">hello</p>
For the bottom one!
Code:
<p style="margin-top: 50px;">hello</p>
Also check this topic space between lines
Dude thanks very much works great, sorry for such a basic HTML/CSS questions but I am still learning

NP I am glad it works and don't worry we are here to help so feel free to ask your CSS or HTML related questions.
User(s) browsing this thread: 1 Guest(s)