Hi .. How can I make a Bar like this one (for facebook likes) http://www.airliners.net/ Code (markup): any tutorials ? will be thankful!
It's a fixed positioned container, like this: <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8' /> <title>Footer Bar Demo</title> <style type="text/css"> * { border: 0; margin: 0; padding: 0; } .content p { height: 300px; text-align: center; } .footer-bar { background-color: #000; bottom: 0; color: #fff; height: 100px; position: fixed; text-align: center; width: 100%; z-index: 9999; } </style> </head> <body> <div class="content"> <p>MAIN CONTENT</p> <p>MAIN CONTENT</p> <p>MAIN CONTENT</p> <p>MAIN CONTENT</p> <p>MAIN CONTENT</p> </div> <div class="footer-bar">FOOTER BAR CONTENT</div> </body> </html> Code (markup):
It would be easy to add, something like: <div class="footer-bar" onclick="this.style.visibility='hidden';">FOOTER BAR CONTENT</div> Code (markup): which should close when clicked....