spiffychristian
Member
Posted 2 years ago #
I'm having a huge issue with my footer and I can't seem to fix it for the life of me!
my website is: http://www.spiffychristian.net
and my footer is ignoring all of my divs and all of my css and shooting straight to the top and it acts like its the only div on the entire page.
feel free to go through my page source and css to help me fix this problem.... i would really appreciate it! thank you!
look here
line 116 shows a missing <div> close
also when using the br tag it needs to be like so
<br />
to be self closing
spiffychristian
Member
Posted 2 years ago #
thank you, i appreciate the help.
i changed by br tags, and i also closed my div, but my footer has still not budged.
It's because of the absolute positioning in the other divs. Absolute positioning takes the element out of the normal flow and clears the room for other elements. Since the footer is the only relative positioned element, its natural behaviour is to be at the top of the page.
You can only solve this by removing all the absolute positioning from the other elements, and let them float around. Don't forget to 'clear: both;' on your footer.
Peter