jquery - Under the rug footer with full height 100% -



jquery - Under the rug footer with full height 100% -

so i've been trying find way create footer appear page scroll downwards found similar want here:

http://jsfiddle.net/me2dz/1/

but @ #content , #footer css.

#content { margin-bottom: 200px; } #footer { height: 200px; }

except thing i'd add together create footer height , width 100%. in illustration saw margin-bottom of #content equals footer height how if footer height going 100% of window?

thanks!

i believe want http://jsfiddle.net/me2dz/14/

add margin-bottom: 100%; #content , height: 100%; #footer this

#content { width:100%; height:1500px; margin-bottom:100%; background-color:#123456; } #footer { position:fixed; bottom:0; left:0; width:100%; height:100%; z-index:-1; background-color:#000; }

jquery css footer

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -