I am trying to create a footer that sticks to the bottom of the page. I have:
相关标签:
Try position absolute :
#footer { clear: both; position: absolute; z-index: 10; width:1000px; margin:auto; bottom:0px; height:50px; }
Look at this: http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page