How to move footer up close to form? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to move footer up close to form?

moving footer up close to form

6th May 2017, 10:38 AM
Naveed
Naveed - avatar
3 Answers
+ 7
You'd need css. And it'd look something like this: HTML code: <footer id="footer" > _______________ </footer> Css code: #footer { bottom: 50px; } And then you'd change 50 to the number that fits best, how ever many pixels you need the footer from the bottom.
6th May 2017, 10:59 AM
PureLogicality
PureLogicality - avatar
+ 6
Post your code here or better share its sololearn code playground link ( making it public or not ) to get useful help ^^ Anyway, you can try to set top margin of your <footer> to zero... but it depends mainly of the page context, and already set css rules ;P
6th May 2017, 11:13 AM
visph
visph - avatar
0
I have made a form. I want footer to be attached bottom of form with no white spacing
6th May 2017, 11:04 AM
Naveed
Naveed - avatar