What is the default padding and/or margin for a p element (reset css)? -


I am using a reset CSS set of styles for some time and every time I need to create a new website Reset, resetting of ap tag margin and padding annoys me the most. I understand why, but I am thinking that what should be the margin on "default" padding and / or F.Element?

I'm guessing that this is not consistent between browsers and it's often required to twang each site, but what is the most common margin and / or padging value set?

Short version: Is it (for example) 5px margins and padding at the top and below ... or something else?

is one for HTML 4. This is not only informative and authentic so the browser can use it But this is not required.

Another resource can be browser's web developer tools. Most can show you the waterfall of those rules that were applied to a particular element. One example: Firefox and Safari (WebKit) begin to use margin: 1em 0px for the p elements.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -