Home › Forums › CSS › html element has horrible margin-top › Reply To: html element has horrible margin-top
May 1, 2016 at 4:41 am
#241121
Paulie_D
Member
Collapsing margins.
The defualt margin of the heading is the issue…setting a border on the div gives the heading margin to push against.
http://stackoverflow.com/questions/9519841/why-does-this-css-margin-top-style-not-work
This is why we normally use a CSS reset.