html - Simple footer troubles -


i'm trying make footer page , i'm using following css:

#footer {     height: 100px;     background-color: #f3f3f3;     position: absolute;     bottom: 0; } 

the footer appears @ bottom of page should. can see text write glued bottom of page properly. however, background colors refuse appear @ all. it's plain white background of rest of page.

any idea why happening?

edit checked conflicting/overriding css. nothing can see.

edit2 html

<div id="footer">     <center><p> sup dawg, i'm footer </p></center>     </div> 

the css attribute set background color background color. change css to:

#footer {     height: 100px;     background-color: #f3f3f3;     position: absolute;     bottom: 0; } 

here working example: http://jsfiddle.net/gfkxu/1/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -