Current location: Hot Scripts Forums » General Web Coding » CSS » three column footer


three column footer

Reply
  #1 (permalink)  
Old 10-22-11, 10:48 AM
williamh26 williamh26 is offline
Wannabe Coder
 
Join Date: Jul 2010
Posts: 132
Thanks: 2
Thanked 0 Times in 0 Posts
three column footer

Hi guys i wanna make three column footer this is my code so far
PHP Code:

<div id="footer">

       <
div id="top-footer">
             <
div id="link1">
             <
ul>
                 <
li><h2>link1</h3></li>
                 <
li><h2>link1</h3></li>
                 <
li><h2>link1</h3></li>
             </
ul>
             </
div>
             <
ul>
             <
div id="link2">

                <
li><h2>link2</h3></li>
                <
li><h2>link2</h3></li>
                <
li><h2>link2</h3></li>
             </
div>
             </
ul>
              <
div id="link3">

                <
li><h2>link3</h3></li>
                <
li><h2>link3</h3></li>
                <
li><h2>link3</h3></li>
             </
div>
             </
ul>
       </
div>

</
div
This is my css code
PHP Code:

#footer h3        {font-family: Comic Sans, Comic Sans MS, cursive; color:#FFFFFF; font-size:1.5em;

                        
margin-top:5margin-bottom:20;}
#top-footer       {background-color:#FFFFFF; width:100%; padding:20px 0; overflow:hidden;}
#link1             { float:left; margin:0px 100px 0 150px;  }
#link1 p        {color:#ffffff; font-size:11px; margin:80px 40px 4px 0;}

#link2            { float:right; margin:0 150px 0 0; text-align:left; }
#link2 ul li    {display:inline;}

#link3        {   } 
What I have to do to make link3 in the middle Thanks for your help
Reply With Quote
  #2 (permalink)  
Old 05-03-12, 07:08 PM
xEX3CUT1ONx xEX3CUT1ONx is offline
Wannabe Coder
 
Join Date: Jun 2008
Posts: 122
Thanks: 2
Thanked 0 Times in 0 Posts
HTML Code:
<div id='footer_container'>
   <div id='footer_col'>

   </div>

   <div id='footer_col'>

   </div>

   <div id='footer_col'>

   </div>

</div>
Code:
#footer_container{
width:800px;
}
#footer_col{
width:33%;
}
Should be what your after.
Reply With Quote
Reply

Bookmarks

« Alert Box with CSS | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Bug? My center column drops to footer position goatchaps CSS 5 08-31-07 12:15 PM
Firefox and align problems gigafare CSS 12 01-07-07 11:22 AM
Overlapping table cells in IE, table/css three column layout (WebTV info also wanted) TwoD CSS 4 11-09-06 07:39 PM
Footer positioning problem with CSS greymoose CSS 1 08-10-06 12:26 AM
I most definately suggest DevelopingCentral.com For Any Website Design/Development! Salty777 General Advertisements 2 10-01-04 04:27 AM


All times are GMT -5. The time now is 04:46 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.