Forums

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

Home Forums CSS html element has horrible margin-top Reply To: html element has horrible margin-top

#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.