All of my body content is showing up underneath the header. I tried using margin top to fix it and it works fine but isn’t responsive at all. Not sure what to do here?
A few things:
- You want to set
padding-top
instead ofmargin-top
on the h1. - Putting a margin on the header will put space between it and the edge of the browser window
Ok ok that makes sense. Is that standard practice when a header is overlapping page content?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.