NBOT NBOT - 5 months ago 8
CSS Question

Make page fill the whole screen with no white space at all

My website is barkitv.com/barki/register-3 on some big screens there is white space and I do not want any white space i want it to fit the whole screen with out any white space, this is what I have tryed making the content 100% and making the footer go to the bottom with

position:absolute bottom:0;
but then there is still white space I have also tryed doing
min-height: 100%;
and doing
position:absolute bottom:0;
on the footer.

Thank You

Answer

Looks like you've already got a sticky footer implemented. Just set a background-color on the body to match your content area:

body {
    background: black;
}
Comments