0

HELP! Footer Position Issue!

Trying to position the footer correctly. i have the code set up correctly, but there is soething else that's making it not work correctly. Anyone find the issue? https://code.sololearn.com/WYIj71kGz5QL/?ref=app

28th Apr 2018, 8:15 PM
MatrixMan
MatrixMan - avatar
4 Réponses
+ 3
I added a filler section to adjust it. https://code.sololearn.com/WWTfPR7yT1Z0
29th Apr 2018, 2:09 AM
John Wells
John Wells - avatar
+ 2
sometimes that's necessary. now here's a question, rather than position absolute and bottom why not just leave it inside the flow of the page, without position at all? that way you wouldn't have to worry about filler and it would always sit in line at the bottom by its natural place in the code.
29th Apr 2018, 2:12 AM
Adam
Adam - avatar
+ 1
Thanks for the help! I'm just going to keep it at display flex, with bottom 0 to keep it at the bottom!
29th Apr 2018, 5:48 PM
MatrixMan
MatrixMan - avatar
0
if you want it to stay at the bottom of the screen no matter where you scroll you need position: fixed. if you want it further down the document you either need to add more space to the bottom so it isn't covering up your content or make the bottom number negative. though this will push it down over the hr.
29th Apr 2018, 1:56 AM
Adam
Adam - avatar