HTML CSS examples for CSS Widget:Footer aligned bottom
Make footer stick to page bottom
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from w ww. j a va 2s . c o m--> margin:0; } #footer { background-image:url('http://www.java2s.com/style/demo/Google-Chrome.png'); background-repeat:repeat; position:absolute; bottom:0; height:41px; width:1801px; margin:0; background:red; } </style> </head> <body> <div id="footer"> tester </div> </body> </html>