HTML CSS examples for CSS Layout:Responsive Layout
Responsive footer at the bottom of page
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .footer {<!-- ww w . j a v a 2 s . c o m--> display:inline-block; text-align:center; width:100%; } .container { position:absolute; bottom:0; width:inherit; margin-left:auto; margin-right:auto; } .footer li { display:inline; } .copyright { margin-top:2%; } </style> </head> <body> <nav class="navbar navbar-default navbar-bottom footer" role="navigation"> <div class="container"> <ul> <li> <a href="about.php">Lorem ip</a>Lor</li> <li> <a href="contact.php">Lorem ipsum</a>Lor</li> <li> <a href="terms&condition.php">Lorem ipsum </a> </li> </ul> <p class="copyright">Lorem ipsum dolor s</p> </div> </nav> </body> </html>