HTML CSS examples for CSS Widget:Footer
Create a footer div with full width to the screen
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from www. j av a 2 s .co m--> margin:0px; padding:0px; } .body { width:100%; height:401px; background:Chartreuse; } .footer { width:100%; height:61px; background:red; position:relative; } </style> </head> <body> <div class="body"> </div> <div class="footer"> </div> </body> </html>