tags:

views:

201

answers:

4

How do I specify the height of the blank line that inserting a <p> creates?

+3  A: 
Chacha102
I think he wants to change the margin. The margin is what adds the space below the `<p>` tag.
Blixt
Oh and when it comes to `line-height`, I find it good practice to define it without a unit, like so: `line-height: 1.4;` That makes it always relative to the current font size (even when cascading, unlike `1.4em`.)
Blixt
Updated with your suggestions Blixt
Chacha102
+5  A: 

In your style sheet, or style sheet section, define this: (example)

p {  margin-top: 0.6em; margin-bottom: 0em; }

You can also specify it in the individual tag <p style="margin-top:.....">

Matthias Wandel
A: 
margin-bottom: 0px; /* Or whatever you want it set to */
Justin Niessner
No unit required for '0' - that's actually invalid.
Bobby Jack
It's not required, but it's not invalid either.
Ms2ger
A: 

change the top and bottom margin heights.

codedude