css - Footer width and position queries -


for reason can't footer stick bottom of page

edit: trying keep @ bottom of page, not bottom of window

and though have set width:100% seems 100% of width of previous div rather 100% of page.

here jsfiddle of entire page : http://jsfiddle.net/eehsa/1/

the css code using footer is:

#footer {height:50px; width:100%; background-color:red; position:absolute; bottom:0px;} 

set position:absolute position:fixed footer

edit:

apply css reset *{padding:0;margin:0;} change position of footer relative , remove top container.

demo:

http://fiddle.jshell.net/nw7ej/show/


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -