I've set up a div on the top of my website that spans 100% width and is in an absolute and fixed position. The code for it looks like this:
div.header{
height: 60px;
width: 100%;
position: absolute;
position: fixed;
top: 0px;
left: 0px;
background-color: #eeeeee;
}
Everything seems to be functioning correctly, but as users scroll down, the content of the site appears behind this div. Is there a way to prevent this overlap?