html - Make footer stretch bottom of page without using body tag -


i have been researching hours trying different solutions none of them have seemed work me, not sure if doing wrong or if template using. have tried cssstickyfooter , has not worked me either.

i have got background image set within pages can't use solution of setting body tag background colour. debug div needs stretch way bottom of page. have zoomed out using chrome , not doing this.

here css code:

#rt-debug {    background-color: #bf953f;    padding-bottom: 15px;    border-top: 4px solid #2a9685; } 

i added footer2 div around debug test cssstickyfooter solution

here link website: http://www.humanenergygroup.com/oil-and-gas-uk

the easiest way add following #rt-debug div:

#rt-debug {     position: fixed;     bottom: 0;     width: 100%; } 

this ensure full page width keeping "sticky" bottom of window.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -