+ 1

When you scroll to the bottom you see a red box on the way on to of another box

Sanja Panic I want it at the very bottom when the view point is filled it a an footer box https://code.sololearn.com/WzUr3zdsTCF7/?ref=app

25th Oct 2021, 10:22 PM
D Doyen
D Doyen - avatar
6 Antworten
+ 3
This take a lot of time to debug. First you can only have ONE id with SAME NAME. But you just copy/paste. Change all id to class. This make some unespected problem. Also no need to set position to footer, by flow it will be last, at end of page.
25th Oct 2021, 11:58 PM
PanicS
PanicS - avatar
+ 2
You also use div as selector for topic and text. This will select all div elements, and make mess. So i add more containers to wrap everything. https://code.sololearn.com/Wp6waMAeGtA7/?ref=app
26th Oct 2021, 12:35 AM
PanicS
PanicS - avatar
0
Kk thanks Dat I.d was a mistake on my side I was stress out dat was your I did not take time to deal with dat
26th Oct 2021, 6:34 AM
D Doyen
D Doyen - avatar
0
Sanja Panic I have a question what if the page content is small I mean half way of the screen won't the footer stay at the middle at of the screen
26th Oct 2021, 6:36 AM
D Doyen
D Doyen - avatar
0
Yes it will be at middle of screen, than if you need you can use position:fixed, or also position: sticky
26th Oct 2021, 7:00 AM
PanicS
PanicS - avatar
0
Sanja Panic Well sticky did not work and fixed is some things else I did it like dis and worked cause it hide below the view point and comes up when I scroll down https://code.sololearn.com/WKR5EW9l3X13/?ref=app
26th Oct 2021, 5:40 PM
D Doyen
D Doyen - avatar