0

How do making fixed footer with css or HTML?

7th Nov 2016, 12:31 PM
Amdadul
3 Answers
+ 1
You can achieve that with css layout using position property. position: fixed If you want to learn more about it: http://www.w3schools.com/css/css_positioning.asp
7th Nov 2016, 12:58 PM
Lyndon John Vergara
Lyndon John Vergara - avatar
0
https://code.sololearn.com/WAEqp08z299b/#html Note, that top and margin-top of footer are equal, except margin-top is negative
7th Nov 2016, 1:08 PM
МаĐșŃĐžĐŒ М
МаĐșŃĐžĐŒ М - avatar
0
There are many ways to achieve that. Probably the best option is position: fixed. Other option is e.g. position: absolute; bottom: 0; But keep in mind you have to solve potential problems with overlapping the page content, position, responsive design etc. I would recommend using the position: fixed property together with flex or margin: auto; properties. Everything depends on the expected result ;-)
7th Nov 2016, 10:03 PM
R3giCZ
R3giCZ - avatar