Click here to Skip to main content
11,486,023 members (75,208 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS HTML
Hi, i'm asking to see if it is possible to make a footer be put at the bottom of the window, so no mater how big the screen is, it will always be at the bottom, i know how to make a footer and how to style it.

so is this possible? Making the footer stay at the bottom of the page, no matter how big the window is?
Posted 16-Nov-12 21:36pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can do this by setting these CSS attributes:
header
{
   position: fixed;
   bottom: 1px;
}
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Html5 has a new tag called "Footer" specifically to designed to serve a footer purpose

Find out more here
  Permalink  
Comments
Corrigan_sam at 2-Dec-12 5:40am
   
Yea i know about footers, it's just that i did not know how to make it stay at the bottom of the page

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,819
1 OriginalGriff 8,047
2 Sascha Lefèvre 3,199
3 Maciej Los 2,886
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100