On Mon, Jul 29, 2013 at 6:42 PM, Mohan R <[email protected]> wrote:
> Hi,
>
> A beginner question, I need to place a div to always stay at bottom of
> the viewport even if there is no other element in the html page.
>
> <!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="utf-8">
> <title>Test</title>
> <style>
> #footer {
>  position: relative;
>  bottom: 0px;
> }
> </style>
> </head>
> <body>
> <div id="footer"> Test Footer </div>
> </body>
> </html>

Check http://ryanfait.com/sticky-footer/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to