Usually only special paragraphs have top, bottom or both margins non zero and usually not the same. The first paragraph/header style after a pagebreak might have the margin-top ignored and only padding-top rendered.
Only put 0 without units.
1px may not render as 1 physical pixel. Look up CSS /HTML rules to see why.
px are best only used with images.
Everything else should be em, but decent renderers will properly render pt using 12pt = 1em exactly.
% may be used with image width or height (not both and other set to auto), but it's not always % of screen (width or height), but may be the enclosing container (see how CSS/HTML works).
A body paragraph after a scene break with no print element might have no indent if first and a top margin. Never add blank lines, tabs or extra spaces to space elements.
Often there is no space between body paragraphs except in kids books or verses, and a first line indent. A zero first line indent on all centred paragraphs and first paragraph after a centred item. A list paragraph/item might have a larger left margin and a -1em to -1.5em first line indent. Right flushed text (Marginalia, Attributions etc) will have a zero first line indent and zero left margin, the right margin will be zero or whatever the right margin of last paragraph before was.
|