Forum How do I...?

Collapsing vertical space between paragraphs?

acmdas
I need to duplicate an existing document using XHTML and Prince, and the space I'm getting between paragraphs at the font point size I need to use is greater than on the original. I'm not having any luck controlling this - if you have any suggestions, I'd be grateful for any help.

Thanks,

David

David

mikeday
Try using the CSS margin-top and margin-bottom properties to change the paragraph margin, like this:
p {
    margin-top: 8pt;
    margin-bottom: 8pt;
}

This should allow you to adjust the space between paragraphs.
acmdas
Great!

I'd have sworn that I'd tried that with no luck, but that did the trick. I must have been too tired yesterday and done something dumb (and ineffective).

Thanks!

David