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

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

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