html - Footer floating in the middle of the page -
i new coding , making first site on wp. have been bludgeoning wp submission using html 5 blank template. having trouble getting footer stay @ bottom of page rather floating in middle @ times. understand how on end, when in wordpress weird things happen.
when make html height:100% in css or when make body position:absolute; content moves down page length of page. have been trying band-aid each individual page creates more , more problems. got ideas?
the site (it's under random directory can build while it's not live).
you have set height on html , body , on footer set position absolute. use below css
html, body {padding:0; margin:0; height:100%;} footer{position: absolute; bottom: 0; left: 0; right: 0;}
Comments
Post a Comment