1)
a) Even if inside CSS file we don’t specify a margin property for a particular block ( like <p>
), browser still displays it as if this block has a linebreak before and after it. Is that space ( let’s call that “default” space a dS ) considered a margin with some default value?
b)
I would assume that if I add ( inside CSS file ) to a
<p>
element a margin property with a value of 1px, then space below and above<p>
should be increased by one pixel? So if dS consists of 15 pixels, then new space should have the height of 16 pixels?But that doesn’t seem to be the case! Namely, if I assign a value of 11px to margin property, space above and below
<p>
doesn’t appear to have the height of 26 pixels ( dS + 11px = 15px + 11px = 26px). In fact, the height appears to be the same as when margin property was assigned a value of 1px.So it would seem that until margin property is assigned a value equal or greater to some predetermined number, the margin property is simply ignored and dS is used instead?