Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS What are the best ways to deal with different bottom margins? Reply To: What are the best ways to deal with different bottom margins?

#148649
wolfcry911
Participant

I wouldn’t change the bottom margin at all. I’d move the h2 (or h3) up using a negative margin only when it follows the h1 (or h2).

h1 + h2, h2 + h3 {
  margin-top: -20px;
  }