...

View Full Version : Line break between two <p> tags



JohnCarter
05-21-2007, 06:20 PM
How do i make the line height between two <p> tags smaller? is there a way?



<p>just below this paragraph there is too much of a gap for my needs</p>
<p>just above this paragraph there is too much of a gap for my needs</p>


Thanks guys.

John.

Arbitrator
05-21-2007, 06:23 PM
If you mean the default space between the paragraphs, you would use:


p { margin: 0; }

If you literally mean the line‐height, you can change the entire line‐height by using:


p { line-height: 1; }

_Aerospace_Eng_
05-21-2007, 06:48 PM
borner:none is not the spacing between the paragraphs. border is what creates an outline around the paragraph itself.

JohnCarter
05-21-2007, 07:33 PM
Thank you, <p style="margin: 0;"></p> did the trick nicley.

effpeetee
05-21-2007, 07:58 PM
borner:none is not the spacing between the paragraphs. border is what creates an outline around the paragraph itself.
Thank you,
I have removed my incorrect information.

effpeetee



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum