Closed Thread
Results 1 to 4 of 4

Thread: Keeping Footre At The Bottom

  1. #1
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Keeping Footre At The Bottom

    Guys, how do you do this in CSS/HTML

    I'm currently using this CSS and HTML but in some parts of the website its not pushed to the bottom;

    HTML:

    Code:
    <div id='footer'>
    <div class="footer">
    <br>Powered by <a href="http://www.fusionstrike.co.uk/live.html"><font color="#ffffff">Fusion Strike; Live!</font></a> |  <a href="http://www.fusionstrike.co.uk"><font color="#ffffff">Fusion Strike</font></a> &copy 2010 | Build 1250<br>
    	<?php
    	
    		putenv("TZ=Europe/London");
    		echo "All times are GMT+. The time is now: " . date(" h:i A").""; 
    		
    	?>
    		</div>
    		</div>
    CSS:

    Code:
    	#footer {
        font-family: Arial;
    	font-size: 8pt;
    	text-align: center;
    	color: #000;
    
    }
    
    .footer, .push {
    height: 4em;
    background-color: #000000;
    color: #ffffff;
    }

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    bastones is offline Newbie
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    0

    Re: Keeping Footre At The Bottom

    I think I understand what you need to do, but if I'm wrong I do apologise.

    Replace any code you've used to try push the .footer to the bottom, and try using this:

    Code:
    .footer {
    position: absolute; /* this positions the .footer selector anywhere we tell it to, irrespective to other elements "space" */
    bottom: 0; /* this pushes the element to the bottom */
    }

  4. #3
    Sphexa is offline Newbie
    Join Date
    Mar 2010
    Posts
    21
    Rep Power
    0

    Re: Keeping Footre At The Bottom

    Heres a easy solution, Create a div for all the content above the footer, then it should work

  5. #4
    DarkLordoftheMonkeys's Avatar
    DarkLordoftheMonkeys is offline Programming Professional
    Join Date
    Oct 2009
    Location
    Massachussets
    Posts
    255
    Blog Entries
    56
    Rep Power
    11

    Re: Keeping Footre At The Bottom

    It depends on what you're trying to do. Do you want a footer at the bottom of the web page? If so, you should use absolute positioning (position: absolute; bottom: xpx.
    Life's too short to be cool. Be a nerd.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. bottom bar
    By KikoLtd in forum JavaScript and CSS
    Replies: 4
    Last Post: 08-27-2009, 07:12 PM
  2. Adding bottom links with click-over feature? Help please!
    By Panarchy in forum JavaScript and CSS
    Replies: 98
    Last Post: 01-18-2009, 04:03 AM
  3. Replies: 11
    Last Post: 01-05-2009, 07:04 AM
  4. Bottom of the page?
    By Vojkan in forum HTML Programming
    Replies: 10
    Last Post: 11-24-2007, 09:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts