0
Margin problem [SOLVED]
I gave margin to h1 but the div also taking the margin. https://code.sololearn.com/WLesOz0wSlrP/?ref=app
2 Answers
+ 2
Change it to padding-top for either the h1 or the div.
https://stackoverflow.com/questions/25114186/setting-the-top-margin-of-the-h1-element-in-the-header-does-not-work-as-expected
+ 2
ChaoticDawg thanks