Currently, I am focusing on enhancing the CSS of a website for a project and my Footer DIV seems to have a mind of its own. The elements within the footer display correctly, but they are overlapping with my content DIV.
I attempted using absolute positioning to keep it in place, but that did not work as expected. Using 'fixed' makes it stay, but I am not satisfied with how it appears.
This is the CSS definition for the footer:
footer {
float: left;
width: 960px;
height: 40px;
background-image: url("images/footer.jpg");
background-repeat: no-repeat;}
Below is how the Footer is coded at the bottom of the Index.html page:
<div id="footer" class=copyright>
<p>Copyright 2019- Nature Snap Photography Site Maintained by____</p>
</div>
</div>
</body>
</html>