We're using a Html Wrapper supplied by a client, which references a reset style sheet that sets the <p>
element's margin to 0px. I'd like to have a normal top & bottom margin with my <p>
elements, so can somebody tell me what it should be?
Browser specific CSS defaults are outlined here.
Here's an extract of relevance for the margin of the p
element:
1.12em 0
14.25pt 0
1em 0
1em 0
1em 0
1em 0
1em 0
Reset stylesheets are by the way ridiculous. Just set the desired margin yourself if you want it to be consistent among browsers.
p {
margin: .75em 0;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With