Hacker News new | ask | show | jobs
by cmg 3754 days 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.