How do I get paragraphs in FF with the same spacing as IE?

admin

Administrator
Staff member
Hey,

I actually like the default spacing between paragraphs in IE. FF's <p> are too bunched together, so does anyone know the actual numbers for IE, and what css would I need to make the <p> in FF look the same as IE.

Thanks.Since the CSS standard doesn't give a width between paragraphs, each browser will look different. The best method is to explicitly set the top and bottom margins of P tags.


p {
margin: 1.2em 0;
}The W3C suggest p {margin: 1.33em 0;}
IE uses approx. p {margin: 1.75em 0;}EXCELLENT!

That's exactly what I needed. And I appreciate the IE settings Fang. Very nice. Thank you so kindly.
 
Back
Top