Results 1 to 3 of 3
-
10th Dec 2009, 01:29 AM #1OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comFacebook Sticky footer!
Hey everyone,
Recently iv'e been wortking on a css footer like facebook.. heres the base css+html for you to start your own
This css provides you with the footer bar where its stays at the bottom of the page..
http://www.imgcentre.com/images/icsnap1388793347.png
Heres a simple image to show you what it looks like and heres the code:
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Facebook like footer bar</title> <style type="text/css"> #footer_container{ /*The main footer div witch will hold the bar*/ bottom: 0px; font-size: 11px; /*Font size used within the footer unless specifeied elsewhere*/ padding: 0px; /*0 Padding for the footer container*/ position: fixed;/*Fixe the containter at bottom*/ right: 0px; width: 100%;/*This is not the footer width: goto -> .footer_bar->margin-(left/right)*/ } #footer_container .footer_bar{ background-color:#CCC; /*Or add background image here*/ /*Margin(left/right) change for space left and right of bar*/ margin-left: 15px; margin-right: 15px; /*Border for the outline effect, note.. DONT add border bottem*/ border-right:1px solid #999; border-top:1px solid #999; border-left:1px solid #999; /*How big do you want the bar*/ height:25px; /*Visibility general*/ overflow: visible !important; position: relative; display:block; } #footer_container .footer_bar .footer_bar_left{float:left;left:0px;} #footer_container .footer_bar .footer_bar_right{float:right;right:0px;} </style> </head> <body> <p>Some Content will be here</p><p>Some Content will be here</p><p>Some Content will be here</p><p>Some Content will be here</p> <p>Some Content will be here</p><p>Some Content will be here</p><p>Some Content will be here</p><p>Some Content will be here</p> <div id="footer_container"> <div class="footer_bar"> <!--Left Side--> <div class="footer_bar_left"> Stuff on left side </div> <div class="footer_bar_right"> Stuff on right side </div> </div> </div> </body> </html>
litewarez Reviewed by litewarez on . Facebook Sticky footer! Hey everyone, Recently iv'e been wortking on a css footer like facebook.. heres the base css+html for you to start your own This css provides you with the footer bar where its stays at the bottom of the page.. http://www.imgcentre.com/images/icsnap1388793347.png Heres a simple image to show you what it looks like and heres the code: Rating: 5Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
10th Dec 2009, 01:33 AM #2Member
Very sexy might use this in the future was thinking about something like this for my site
Thanks litewarez love you snippets of codes you keep posting keep it up man they are very usefulSignature too big, removed by staff.
-
10th Dec 2009, 01:42 AM #3Member
yea litewarez code snippets are always awesome
Please follow signature rules
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
LE with WarezRace l 2UV,3* l Footer-Footer
By Faizann20 in forum Link ExchangeReplies: 0Last Post: 24th Feb 2011, 11:28 AM -
Can i pay for sticky thread?
By xoomservice2010 in forum General DiscussionReplies: 12Last Post: 21st Mar 2010, 01:45 AM -
FREE Facebook Advertising $100 Voucher! STICKY?
By Cookie in forum Completed TransactionsReplies: 5Last Post: 2nd Dec 2009, 08:38 AM -
[WTB] sticky thread
By Elio in forum Completed TransactionsReplies: 12Last Post: 23rd Oct 2009, 11:25 AM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...