By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,178 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

How to stop <p> tags from skipping a line?

P: 8
How do you stop paragraph tags from skipping a line when after the </p> tag?
Mar 26 '08 #1
Share this Question
Share on Google+
3 Replies


100+
P: 110
How do you stop paragraph tags from skipping a line when after the </p> tag?
Do you really want to not skip a line? Or are you just not wanting to have a full line space?

If you don't want </p> to start a new line, then you can use "display: inline;" in your css for the p tag.

If you are just wanting to reduce the amount of space after the </p> tag, you should be able to set the margin-bottom in the css.
Mar 26 '08 #2

drhowarddrfine
Expert 5K+
P: 7,435
What you are seeing is not a skipping of lines but just a natural margin between paragraphs. To remove that, in your CSS, just say p{margin:0}
Mar 27 '08 #3

nomad
Expert 100+
P: 664
what about using <br>

nomad
Mar 27 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.