html - How to fill 100% of webpage with a colour -


can please help? have page has header, main content box , footer. here’s link page in development my test page. problem i’m having have called “background box” (the box in pink dark brown top border). need auto-fill whole screen, right past footer, @ moment fills screen fold of screen, if scroll down doesn’t fill entire screen. have tried height: auto; , height: 100%; none of these give desired effect.

does have suggestions can fix issue? if code can post here, should able view code through browser.

if want sure background box serve background other elements, have tried nesting other elements background box? instance:

<div id="backgroundbox"> background box     <div id="contentbox">...</div>     <div id="footer">...</div> </div> 

you use css tricks (a negative margin-top, example) raise #contentbox above #backgroundbox starts.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -