3 ms·
HTML paragraphs have a default margin on the top and bottom. In Safari/Chrome at least, it's 1em. Use/modify that. I often add #whatever-container p:first-of
by cmg 10y ago
HTML paragraphs have a default margin on the top and bottom. In Safari/Chrome at least, it's 1em. Use/modify that. I often add
#whatever-container p:first-of-type { margin-top: 0; }
to remove the top margin on the first paragraph of a container to line things up properly.