News for hackers. Stuff that matters.
Re:A few HTML tips by lllorddino on Wednesday August 24, 2016 @10:45AM (#12352392)
That feeling when the first paragraph of an article points out something you've been doing wrong all along :D. I use <br> in between paragraphs and it looks horrible, what should I be using instead?
Re:A few HTML tips by cmg on Wednesday August 24, 2016 @10:48AM (#12352413)
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.
Re:A few HTML tips by reitanqild on Wednesday August 24, 2016 @11:05AM (#12352547)
<p></p> is start and end of a paragraph.
Re:A few HTML tips by bits_stib on Wednesday August 24, 2016 @12:14PM (#12353075)
use more <p></p>.