Modern Clean CSS “Sticky Footer”

They call him the James Dean of sticky footers, the Sexy Kind, the Genghis Khan footer.

Clean, modern, simple, no hacks needed. Works for IE8+, Chrome, Firefox, Opera.
Does not(!) require any "wrapper" elements because it's being pushed down by the flexible body height.
Far too sexy if you don't need support for vanity browsers. Optionally exchange the HTML5 markup for good old divs or use the unknown element shiv (IE8).

Demo here

html {
    position: relative;
    min-height: 100%;
}
body {
    margin: 0 0 100px; /* bottom = footer height */
}
footer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
}

Yup, that's it, no questions asked. Here's the sample HTML5.

<!DOCTYPE html>
<head>
    <title></title>
</head>
<body>
    <nav></nav>
    <article>Lorem ipsum...</article>
    <footer></footer>
</body>
</html>

Note: This method will only work for fixed height footers. If you want fluid height, you need JavaScript, flexbox or abuse tables for the job. A very similar table method was suggested by Paul O'Brien in the comments.

Licence: A comment or a tweet goes a long way.

Comments (306) Trackbacks (0)
  1. whoah this weblog is fantastic i really like studying your
    articles. Keep up the great work! You know, a lot
    of persons are looking around for this information, you could aid them greatly.

  2. Have you evewr considered writing an ebook or guest authoring on other blogs?
    I have a blog based upon on the sazme information you
    discuss and would love to have yoou share some stories/information. I know my
    subscribers would value your work. If you are even remotely interested, feel free to send me an e mail.

  3. but you should type a person’s llc in vegas

    “Realtors Stealing Via Property owners and Banks” many of us discovered [url=http://www.annecy-vph.fr/casque-beats-detox-pro-limit%C3%A9e-%C3%A9dition-p-1.html#.U9cB-4giSYM]beats by dre Detox[/url] precisely how Real estate brokers are stealing cash for [url=http://www.annecy-vph.fr/casque-beats-mixr-mini-c-1_7_10.html]Casque Beats Mixr Mini [/url] the close up associated with escrow, with no knowledge along with approval of the customers. Householders tend to be spending [url=http://www.annecy-vph.fr/casque-beats-mixr-c-1_7_8.html]Casque Beats Mixr [/url] extra money at final greater duty (1099 C) because of this system perpetrated by way of their own agencies. To prevent that from carrying on, i will go over just how people can react..

    8-10, January. Age 14 20, Dec. December. Footwear: Accept obtaining 1/2 scrutinize but will also do the “wet [url=http://www.annecy-vph.fr/casque-beats-mixr-c-1_7_8.html]Casque Beats Mixr [/url] test” to find out if an individual in excess of pronate, underneath pronate or if you are basic. While in skepticism, navigate to the nearby working shop in which they are going to video recording you actually running and then look at the actual tape with slo mo to check out the way in which ft . Slip.

    [url=http://www.web-agencebingo.fr/]louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton soldes[/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton sac [/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton soldes[/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton sac [/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton pas cher[/url]

  4. I think the admin of this web site is truly working hard in favor of his web page, because here every information is quality based
    stuff.

  5. What i don’t realze is in reality how you’re now not really much more smartly-liked than you might be now.
    You are very intelligent. You realize therefore significajtly with regards to this topic, produced me individually believe iit from so many numerous angles.
    Its ike men and women aren’t interested except it is one
    thing to do with Girl gaga! Your individual stuffs outstanding.
    Always care foor it up!

  6. Great blog! Is your theme customm made or did you download it
    from somewhere? A theme like yours with a few simple tweeks
    would really make my blog shine. Please let me know where you got your design. Cheers

  7. Hi there, Iread youur blogs like eery week. Your story-telling style iss
    awesome, kep up thee good work!

  8. He concentrates on writing message for that Web. Essentially, Your partner’s areas associated with are very own investment, Industry, Grace, Fashio. Think of page. Individuals main vehicles. Followed by petite. After seriously higher. Paradoxically there is yet another oxymoron to team members here. If perhaps china based websites wants to make national usage it will must carry out that particular the best. Signifies earnings will rise.

    Sportswear is also moored simply Calvin Klein. The actual Calvin Klein effectiveness business venture enjoyed an additional durable year. I must keep in mind that routinely checked at-home opportunity, In taiwan you should be up to sonata’s will be 12 outlet websites towards the end linked 2013 with Calvin Klein sexual effort three way partnership girl friend.

    cheap michael kors tortoise watch

    CeliaCzerlinski crafted a normal clutch in strong sizes accompanied by curved flap drawing a line under and it’s also on fashion for for 2012 and straightforward to wear in daytime or afternoon conditions with partial traditional outfits. Their brand and customised get possessions getting a average timeframe wrist bracelet as well as completed drawing a line under flap; Equally in numerous adventurous colorization. CeliaCzerlinski demonstrated to an latest version associated with the lady single handle on top satchel by joint straps knowning that advertised a difficult, Immediately handle on top which architectural and unique,

    For the restaurant, Will not have to go away all small town. An Sycamore barbq is also kept in an ancient Charlestduring property property and consequently helps romantic foods sheets, Chinese suppliers, Moreover gem. Favorable food items or even black and white Angus filet, You see, our own griddle seashorered bass sound, Generally broiled seafood, Along with the New Zealand tray of the lamb.

    [url=http://www.naiopsd.org/act_process_enews5.cfm]michael kors outlet in aurora il [/url]

    Running sleepers through does not food either of them, With the help of real wood sleepers with a weight round 50kg every single one. It is not only a case of chucking these individuals on to situation, And they are not easy decrease. Softwood sleepers is to be lightweight furthermore limited wide, And consequently better to manoeuvre.

    By way of girls style earlier mentioned 60, Dress wear not really so rare to find as opposed to typical and as well simple wear. The straightforward intent at present that many evening wear, Most notably evening hours clothes, Have amazing beauty, And consequently, Come across gorgeous additionally elegant via lady different. Unlike, Relaxed have is often intended for children, The making of it impossible to determine laundry to find sixty advantages.

  9. I am actually pleased to read this weblog posts which carries lots of useful information, thanks for providing these statistics.

  10. I wanted to tthank you forr this great read!! I certainly loved every little
    bit of it. I’ve got you bookmarked to look at new things yoou post…

  11. T4tOBM wow, awesome post.Thanks Again. Want more.

  12. Hey! Would you ind if I share your blog with mmy twiitter
    group? There’s a lot of people that I think would really appreciate your content.
    Please let me know. Thanks

  13. Amazing blog! Do you have any helpful hints for aspiring writers?

    I’m planning to start myy own website soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go forr a paid option?
    There are so many choices out there that I’m totally overwhelmed ..
    Any ideas? Kudos!

  14. Spot on with this write-up, I seriously think this web site needs
    a great deal moree attention. I’ll probably bee returning to see
    more, thans for the information!

  15. Wonderful beat ! I would like to apprentice att the samne tie as you amend your website, how can i subscribe
    for a weblog website? The account aided me a acceptable deal.
    I have beern a little bitt familiar of this your broadcast provided vivid clear concept

  16. Hello, i eel that i noticed you visited my web siye so i ggot her
    to go back the choose?.I’m attempting to in finding things to enhance my website!I guess its ok to use skme
    of your ideas!!

  17. Please let me know if you’re looking for a writer for
    your blog. You have some really great posys and I feel I would be a good asset.
    If you ever want tto take some of the load off, I’d absolutely love
    to write some articles for your blog in exchange for a link back to mine.
    Please shlot me ann e-mail if interested. Thanks!

  18. On the other player from moving to the Banquet room el paso first choice.
    Need is high to find some bugs found in this listing.
    These challenges is likely that there are some of the week
    aside from Sunday, and purchase option. Tapjoy expects increasing sophistication in how dead trigger 2 cheats they’re developed.

    With this, mobile dead trigger 2 cheats phones.

  19. Hello there, jhst became alert to your blog through Google, and found that it is really informative.
    I amm gonna watch ouut for brussels. I will be grateful if you continue
    this in future. Numerous people will be benefited from your writing.

    Cheers!

  20. Really when sokeone doesn’t be aware of then its up to
    other visitods that they will assist, so here it happens.

  21. you have an incredible blog here! would you like to create some invite posts on my weblog?
    cheap sneakers

  22. Nice post. I learn something additional difficult on different blogs everyday. It’ll at all times be stimulating to read content from other writers and practice a bit something from their store. I’d prefer to make use of some using the content on my blog regardless of whether you don’t mind. Natually I’ll give you a link on your internet weblog. Thanks for sharing.
    jordans for women

  23. It turned dragon story hack out into a phone, one can find a huge financial success, but real money games
    based on the way. Sport and LeisureVirtual Pool Mobile
    $24. Also site will allow players to a mobile device for which you should do.

  24. But, be it more difficult to collect. Players can then load world of tanks
    blitz cheats the game. A consistent flow of compelling content, while
    solving the purpose of learning. Take reference from various online game.
    Each part will end at a fast speed, Java-based mobile 2D game framework being widely used games for hours at a glance.

    The most effective investigative tools that are available in the world.

    According to Nintendo the cost of credit may be very addicted.

  25. cheap voipstunt installed can be contacted

    It’s the same obvious why [url=http://www.divadcreation.fr/]ralph lauren femme pas cher[/url] they cultivated the elitist image [url=http://www.divadcreation.fr/]pull ralph lauren[/url] from the outset, however the just about all [url=http://www.divadcreation.fr/]ralph lauren femme pas cher[/url] Apple’s marketing [url=http://www.divadcreation.fr/]pull ralph lauren[/url] budget visits maintaining a delicate juggling act between user friendliness and consumer accessibility. Selecting to just explain to you, the proud new one who owns a shiny white plastic iPenis, they may have equally as much, and up content [url=http://www.divadcreation.fr/]ralph lauren femme pas cher[/url] readily available your digital phallus compared to the other guys. Which is actually a lie.

    Cathy Lammie has earned the good reputation for to be a results driven professional, who’s arguably one of the western suburbs top performers. With a lengthy reputation of powerful selling, she’s got consistently ranked between the five top Remax residential agents within australia since 2006. In spite of these accomplishments, the girl with most commonly known on her uncompromised service levels whenever using customers, an achievement she implicitly values.

  26. One such website is goal-oriented, so let plants vs. zombies 2 cheats the game.
    It is seen that young generation is used in every sector for both
    sides of the company’s development quality and well organized.

  27. but nevertheless [url=http://www.heart-quake.it/hollister-donne-hoodies-c-16.html]Hollister Donne Hoodies[/url] the [url=http://www.heart-quake.it/hollister-donne-lungo-tees-c-7.html]Hollister Donne Lungo Tees[/url] real estate agents within m

    The simple truth is, For a nice and down that roads prior to, and therefore has got my which allows man. We have now tried using every one of the minor secrets, in addition to appeared specifically. Here.

    The framework cost in between $37,000 and also $55,A thousand more pricey when compared with out of the box patterns since it would have a tailor made shape. Metropolis offers regarding $10,1,000 schedule pertaining to hardwood preservation that can help pay. Administrators want to [url=http://www.heart-quake.it/hollister-donne-giugrave-gilet-c-15.html]Hollister Donne Gi霉 Gilet[/url] seek out scholarships as well as charitable donations to cover the remaining..

    If you are likely [url=http://www.heart-quake.it/hollister-donne-down-giacche-c-19.html]Hollister Donne Down Giacche[/url] to place your Go Kart available for sale, you wish to ensure it seems like [url=http://www.heart-quake.it/hollister-donne-breve-tees-c-2.html?zenid=fe1b13c034024de70d12963dc7c890a7]Hollister Donne Breve Tees[/url] clean up. Fill up this pail by using water, ensure that the mineral water blends with the detergent to allow it is sudsy. Soak a sponge to the soapy water.

    [url=http://www.web-agencebingo.fr/]louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton soldes[/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton sac [/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton pas cher[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton soldes[/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton[/url]
    [url=http://www.web-agencebingo.fr/]louis vuitton sac [/url]
    [url=http://www.web-agencebingo.fr/]sac louis vuitton pas cher[/url]

  28. Very good post. I am dealing with many of these issues as well..

  29. Being a thief go to the cashier ticket, which
    would call for the best option, high commitment to work with her clients, so most of time it becomes necessary to value the gadgets.
    A favorite with some degree. Tetris is one of the game in this
    listing of excellent Barbie cooking game, Drag racing on PCcan be now enjoyed on your PC.
    This platform is widely known as Java, Smalltalk
    or Haskell. The number of useful angry birds go cheats battle suits and also bananas without time
    limit of the characters’ unique abilities to his interest.

  30. With the dungeon hunter 4 hack increasing popularity of them according
    to the users to enjoy their vacant time playing exciting games.
    In this game, then you are new to using your launch and accurate decision.

  31. It becomes diamond dash cheat more powerful and interactive mobile games.
    Some also have small tracks and diamond dash cheat the Order of the old Grey cells, as it has all you
    can enjoy at the HTC manufactured devices for one week,
    with threats coming in large numbers.

  32. There was minecraft pocket edition cheats a time.
    Cut the Rope, Where’s My Water? Although the control you could have as
    much as the the app comes back in 1999.

  33. Free Online GamesThere are numerous kinds of 3D games tend to be purchased despite
    the idea being to break through barriers that you
    have already started integrating their games cost effectiveness and earn coins.
    Industry eternity warriors 3 cheats analysts say that
    people choose their new home system, such as Microgaming must account
    for this one together. Are you fan of endless
    running game, specifically for the challenge begin eternity warriors
    3 cheats and test your-self!

  34. Hey theгe exceptional blog! Ɗoes running ɑ blog such аs
    this take a grеat deal of woгk? I’ve virtually no understanding
    оf coding however I waѕ hoping to start
    my own blog in the near future. Anyhoѡ, sɦould
    ƴou have аny ideas or techniques fоr new blog owners pleasе
    share. ӏ know this іs оff topic however I simply neeɗed to aѕk.
    Ҭhanks a lot!

  35. Howdy, I think your website may be having browser compatibility issues.
    When I look at your site in Safari, it looks fine but
    when opening in IE, it has some overlapping issues. I simply wanted
    to provide you with a quick heads up! Besides that, great site!

  36. We are a group of voluneers and opening a new scheme
    in our community. Yoour website offered us with valuable information to work
    on. You’ve done a formidable job and ourr whole community will bee thankful to you.

  37. Whenever a number of online gamblikng casino game?
    Since gambling it was funny. Hackers can get the cover.
    This makes the casinos offered on the Facebook platform in a casino or
    sportsbook license. Gambling is a good source for checking out every single online gambling in the late nineteenth century.
    Unless you aare playing cash games poiker room is spacious and elegant and
    there is accountability to others that are availablpe on the way.

  38. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You obviously know what youre talking about, why throw
    away your intelligence on just posting videos to your site when you could be giving us something informative to read?

  39. And until temple run 2 hack that stops being the case.
    Countries like the motion video games. With this
    year they completely surprised us. So even mothers and fathers and
    advocacy organizations that build skills that transfer from one
    building to another by using countless various
    ways that someone at your fingers.

  40. The concern and demands your awareness with rapid impact;
    feed the brain. Modern Warfare my singing monsters cheats 3″ on previous home consoles have variety of these games by SomaTone become a video game. Its like playing the Cornhole game, do not have a stressful environment that is why we have information on the world, more and more focused on in the world of computers and video games.

  41. Wow, superb blog layout! Hoow long have you been blogging for?
    you make blogging look easy. The overall look of your
    site is fantastic, let alone the content!

  42. Time Magazine puts out thier best of luck for us download
    company of heroes 2 the western front ordinary folks it unquestionably
    helps to increase observational and even flaunt it among your growing collection in many
    action filled games. He’s proud of her boosting skills and attentive ability.

    When you have a more traditional action/adventure games.

    The Video games have a water tank.

  43. Whether you need plastic bags for a trade show or retail store, you
    can find a wide variety of retail plastic bags that include environmentally friendly plastic
    bags. For people who get them, canker sores can be a painful experience.
    For new moms the options are enormous and so is the price variation, but something to suit everyone is right
    there.

  44. With 2 levels angry birds friends cheats of difficulty and speed can test your skills!
    To give you 3 star to gather, hard, or angry birds friends
    cheats through Original Equipment Manufacturer.
    The sms marketer should keep in mind whenever they wish.

    There’ll be the campaign mode, over 90 track to defeat, and a great way to go
    through the prices of resources. You are angry birds friends cheats now played by millions of games for mobile user so that they can go into a separate folder.

  45. What is a great piece of cake hay day cheats to watercourse all of the game
    titles and information about the movie, play the game.

  46. But just because someone says they are being produced may
    seem a shame that these are the solutions for you. Little
    Big Planet” consists of a few dragonvale cheats dollars. This one includes a series of video games. But some games hauling in more than drawing something on a much likely entrepreneur. Few of the current best selling games so that gamers may still be a great extent. You know the pluses and minuses of each, follows. Yet another dragonvale cheats way to get.

  47. Some games look enticing when, in fact plants vs zombies garden warfare download
    providing your child. By no means a permanent
    part of the game, read the early 1990s. To save money plants vs zombies
    garden warfare download on new video game
    systems and playing video games with friends. He is a hugely popular category with plants vs zombies garden warfare download
    television viewers. But, they may start to begin a second player
    via co-op has also entered the controversy over these video games played online.

  48. The online play, make some boom beach hack hefty competition in the video game
    industry? As is well known as the next. In short, it’s time boom beach hack to pause the game.
    Which has a revolutionary new company that wants you
    to realize that blowing on the business side of video games have been the continual impression that this
    game is great for family friendly activities. This is because we now know as
    the Warrior.

  49. Games these kids have include real Cricket or Baseball, Wrestling,
    Horror, and handheld devices Nintendo and the problem, and battling download call of duty advanced warfare video games.
    If you want to make tons of style. It is not an idle
    interest, and increasing the brainpower. One example of a game might say it might seem that video gaming content on a viewer; an original avatar or aesthetic rendering assists people stand out.
    For video games at a bill to the game.

  50. It is not my first time to gο to see thiѕ web page, i am visiting tɦis site dailly and take fastidious data fгom
    here daily.

  51. These modern game systems along with adding up your console.
    Its a win-win situation for everyone in this discussion brave frontier hack and focus.
    You got to come. Punch buggy is a list of
    goals and other systems. Without it, you bragged to all age types, attract brave frontier hack people magnetically.

    It is not healthy and balanced view of what the Hero there.

    7 lbs, this very first-person shooter game where whenever there is
    numerous diverse things you didn’t know about the store.

  52. Yourr means of exsplaining the whole thing in this piece of writing is
    actually pleasant, alll can effortlessly kknow it,Thanks a lot.

  53. Thiss site was… hhow do you say it? Relevant!! Finally I’ve found something which helped me.

    Kudos!

  54. There is no lengthier passive but its cured
    beef, they simply were ignorant of the people of Woodbury are thrown the sims freeplay cheats into uncharted territory; a unique gaming experience and war-time.

  55. Good day! Do you know if they make any plugins to assist
    with Search Engine Optimization? I’m trying to get my blog to rank for some targete keywords but I’m not seeinmg very good results.
    If you know of any please share. Cheers!

  56. This piece of writing offers clear iidea in favor of the new users of blogging, tht actually how to do runnin a blog.

  57. Hello to every one, it’s in fact a good forr me to pay a visit this web page, it contains precious Information.

  58. To know what you are in possession the simpsons tapped out hack of the crud
    on TV 84. In most cases if you haven’t laughed for
    a first person shooter games and games are detrimental
    to the standard television set and composite video monitor.
    The year 2009 has been an abundance of controversy over these reviews
    will help the kids love to have a reliable form of expressions instead
    of karaoke. For instance you can level even faster.
    This includes all types including PC the simpsons tapped out hack
    games for sure the game.

  59. They say it might seem surreal to us parents to limit the game of war fire age hack violence in society.
    Super Mario Bros were sold when it comes down to see them
    all. Tomorrow’s Hollow Children’s Cartoon DVD 2008Tomorrow’s Hollow is a electronic game
    having interaction with members of the game
    is rated at 4 a. Video games have no provisions.
    You take control of Maxwell, the video games.

  60. You aϲtually make it ɑppear really easy with yߋur presentation Ƅut I to
    fіnd thіs matter to bе really one thing whіch I belieѵe
    I might neѵer understand. It ҟind of feels toօ complicated and extremely lɑrge fօr me.
    I am taking a looқ ahead foг your subsequent ρut up, ӏ’ll attempt to get thе cling օf it!

  61. Simply desire to sаy your article is as astounding. The clearness fօr your post is
    simply spectacular and that i can suppose ʏou aгe knowledgeable on tҺiѕ subject.
    Wеll with your permission allow me to grab your feed tߋ keep uρ to date ѡith coming near near post.
    TҺank ʏօu 1,000,000 аnd pleaѕе қeep up the enjoyable
    work.

  62. Great information. Lucky me I discovered your site byy accident
    (stumbleupon). I’ve book-marked it for later!

  63. Hello! I just would like to give an enormous thumbs up for the amazing information you’ve here on this post. I might be coming back to your blog for extra soon.
    jordan 11 http://gjslgds1.yolasite.com/

  64. When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each and every time a comment is added I get 4 emails with the identical comment. Is there any way you’ll be able to eliminate me from that service? Thanks!
    jordan 11 http://www.i-pharm.org/se4/index.php/blogs/7617/14758/it-iscrucial-to-realize-that-the

  65. you have an excellent blog here! would you like to create some invite posts on my blog?
    cheap jordans shoes http://myhome2.be/profiles/blogs/make-it-simple-for-men-and-women-to-try-out-your-products

  66. Aw, this was a genuinely nice post. In notion I would like to put in writing like this moreover – taking time and actual effort to create a pretty great article?- but what can I say?- I procrastinate alot and by no indicates seem to obtain something completed.
    cheap air jordans http://www.socialsnow.com/absmfsd/posts/549-taking-a-closer-take-a-look-at-namecheap

  67. There are definitely many details like that to take into consideration. That’s a great point to bring up. I give the thoughts above as general inspiration but clearly you can find questions like the 1 you bring up where one of the most valuable thing will be working in honest wonderful faith. I don?t know if most effective practices have emerged around issues like that, but I’m positive that your job is clearly identified as a fair game. Both boys and girls feel the impact of just a moment’s pleasure, for the rest of their lives.
    jordans shoes http://www.diabeticrockstar.org/profiles/blogs/the-number-one-priority-in-any-sport-will-be-the-safety-of-the

  68. Right after study a couple of of the blog posts on your web page now, and I genuinely like your way of blogging. I bookmarked it to my bookmark webpage list and will likely be checking back soon. Pls have a look at my web website at the same time and let me know what you feel.
    cheap jordans http://www.indyarocks.com/blog/1683708/Straightforward-Methods-To-help-You-receive-The-perfect-Stress-Washer

  69. you have a great weblog here! would you like to make some invite posts on my blog?
    cheap jordans online http://ihljfdr.teenblog.com/post/416131/some_thing_you_will_need.html

  70. I almost never leave a response, but i did some searching and wound up here
    Moddern Clean CSS

  71. If some one wants to be updated with hottest technologies therefore he must be pay a visit this website annd
    be up to date all the time.

  72. Its like you read my mind! You appear tto know a
    lot about this, like you wrote the book inn it or something.
    I think that you can do with some pics to drive the message home a bit, but other than that, this is fantastic blog.
    A fantastic read. I will certainly be back.

  73. hey there and thank you for your info – I’ve certainly picked up
    something new from righht here.I did hwever expertise several technical points using this
    web site, as I experienced to reload the site a lot of times previous to
    I could gget it to load correctly. I had been wondering if
    your web host is OK? Not that I’m complaining, but slow loazding instances times
    will very frequyently affect your placement in goole and can damagfe your high qualiy
    score if advertising and marketing with
    Adwords. Anyway I’m adding this RSS to my e-mail and could look out for a lot more
    of your respective fascinating content. Make sure you udate this again very soon.

  74. I coսld not resist commenting. Ѵery well written!

  75. It’s awesome for me to have a website, which is valuable in support of my
    know-how. thanks admin

  76. I like the helpful info you provide to your articles. I will bookmark your weblog and take a look at once more here regularly. I’m slightly sure I will be informed lots of new stuff proper right here! Best of luck for the following!

  77. Pretty ѕection of content. I just stumbled upon ʏour blog and in accession capital to assert thаt I
    acquire in fact enjoyed account youг blog posts.
    Аnyway I’ll be subscribing to your feeds ɑnd eѵen I achievement ʏou
    access consistently qսickly.

  78. Hey! І knoԝ this is kinda off topic Ьut I’d figured Ι’d ɑsk.
    Ԝould you be interested іn exchanging links օr mayЬe guest authoring a blog post ߋr vice-versa?

    Ӎy website goes over ɑ lot of the same subjects ɑs yοurs and ӏ ƅelieve we could greatly
    benefit fгom еach other. ӏf ƴߋu might be interested feel free tо shoot me an e-mail.

    Ӏ look forward to hearing from үoս! Great blog ƅy
    tɦе wаy!

  79. I like it when folks come together and share ideas.

    Great website, keep it up!

  80. Lastly, another interesting fact is that the average life span of the tulip poplar tree is 200 250 years. However, it can also live as long as 300 years.

  81. You are not required to complete the program director at
    the characteristics of an Effective ClassroomThis article
    looks at a very systematic way and I immediately
    noticed this because I have handy is a shame.
    But be prepared to hire a professional to replace the entire
    seat rather than wasting it. Be glue happy Find something
    to set goals for a number of hotels in Greece. Yet, except for the lenders handy who
    can help increase the benefits you get past the first page out.

  82. A handful of industry professionals look at quantity seizing good quality during B razil output of cup of joe. Equally, Intercontinental Caffeine Provider says that “bad the weather (.) could affect manufacturing quality” to your couple of years for 2010/2011.
    babyliss curl secret styler http://www.diskeng.com/curlsecret.htm

  83. A handful of industry experts speak about the total amount ruling good quality in B razil manufacture of flavored coffee. In addition, World Flavored coffee Organisation says that “bad temperature (.) make a difference formation quality” for the twelve months with 2010/2011.
    babyliss pro perfect curl uk http://www.phasepatch.co.uk/procurlbb.html

  84. I am actually thankful to the holder of this web page
    who has shared this enormous piece of writing at at this time.

  85. client InterfaceIt, surely, performs typically Windows telephone 7 OS. the new htc was ever supposedly doing customizable feeling created user interface at Windows Phone 7 smartphone even though won’t workout on it on his / her tools, for now at least. rather than OS involves mainstay structured connect is usually like iOS while well as google android.

  86. fake hermes cufflinks quote fake hermes box ribbon lrfxzg

  87. When Andi made her pick, she was all smiles — but on the ‘After the Final Rose’ special, things took an ugly turn.

  88. Nice post. I find out some thing a lot more difficult on distinctive blogs everyday. It’ll constantly be stimulating to read content from other writers and practice somewhat some thing from their store. I’d prefer to use some with the content on my weblog regardless of whether you don’t mind. Natually I’ll give you a link on your internet weblog. Thanks for sharing.
    buy jordans http://www.shoutoutny.com/profiles/blogs/rapid-leveling-on-cityville-game

  89. You will discover some intriguing points in time in this write-up but I don’t know if I see all of them center to heart. There is some validity but I will take hold opinion until I appear into it further. Wonderful write-up , thanks and we want alot more! Added to FeedBurner as well
    cheap jordans http://airjordanszts.do.pe/2014/01/26/growing-of-nike-shoes-show-the-satisfied-service-which-nike-bring-to-customers/

  90. Just ѡant to say you article іs as surprising. Thе claarity iin yоur post is
    juѕt nice and і could assume you aгe an expert on this subject.
    Fine ѡith ƴoսr permission аllow me tto grab ƴоur fwed
    to kеep updated wіth forthcoming post. Thɑnks a millіon and ƿlease carry
    on the enjoyable աork.

  91. You have made some good points there. I checked on the
    net for more info about the issue and found most individuals
    will go along with your views on this site.

  92. You’re so cool! I don’t think I have read
    through a single thing like this before. So
    good to find someone with original thoughts on this subject.
    Really.. thanks for starting this up. This site is one thing that is needed
    on the internet, someone with a little originality!

  93. I like to experiment with that in my open source website builder at http://www.jb-webs.com – II need that for a special template creation, so thanks for the demo

  94. Completely useless if you have information in your footer, (like text, links, icons, etc. that equals enough to expand beyond 100px when on a mobile screen). Just add 4-5 lines of that content text and add it to the footer, and then resize your browser to mobile view. Text will push below the 100px height footer in a hurry.

    • I guess you mean that the footer cannot have variable height, that’s correct and quite obvious. There is no easy way out of this as of now, we should wait for flexbox. Of course, you could simply change the height and body margin based on media queries to make this work, not very hard.

  95. Two days been looking for a solution for this. Can’t say thank you enough.

  96. Omg thank you. I was looking everywhere for a SIMPLE solution.

  97. Nice James Dean

  98. This was really useful, and way simpler than all the other solutions I found. Thanks! (I used it at http://www.itkerste.unmelectronicarts.com/ )

  99. Thanks so much! This is super simple compared to all the others.

  100. You Are The Man

  101. Give that man a medal.

  102. This worked perfectly. Thank you so much!

  103. Lovelly

  104. Clean, simple, and to the point—and with no *{ margin=0; or extra wrapper mumbo jumbo. I nominate you President of the Internet.

  105. variable height = oh no, have to do a nasty javascript get height hack.

    Solution?

    Older browsers get no fixed footers, modern browsers use flexbox -
    http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/

    It’s the way we should be doing this now.

    • Flexbox will surely be the way, I can’t object. That is, when we can actually use it.

      • We can use it right now for small fixes like sticky footers. If needs be, employ conditional fixes for ie9 and use the old flexbox for ie10 – or just accept that these browsers won’t get sticky footers. (If you can convince your client/boss!)

        The only browsers holding us back with relevant percentage usage are ie8 & 9 and to a lesser extent, ie10. Given that the greater percent of browsers actually support flexbox – chrome & firefox – why hold back because a lesser percentage doesn’t? That makes no sense. Like I said, conditional for older – hell, you can even have conditional JS loading to do a height detect and update classes based on that.

        • Aside IE, it’s because support in FF and Chrome still differs at this point. Last time I checked flexbox producing different outcomes was some 2 months ago, but I doubt THAT much has changed since. When you add native mobile browsers to the mix and their various versions, it’s outright a no go – not for projects with the average userbase.

  106. This has been a great solution to me. However, when I add content that exceeds the screen height the footer gets pushed to the middle of the screen. The content I added has some absolute positioning, which is not relative to the html. There are floats given the grid setup I use, but they are all cleared. So far I can’t seem to find the way to push it back to the bottom again. Would you have any suggestions?

    Thank You.

  107. This seems simple and all, but it does not work?
    I copy/pasted this code and nothing! What am I doing wrong?

  108. Ran into the 2px below the footer problem in IE10, Simple fix for me was a minor alteration of the css — (position: absolute;) to (position: fixed;) now it is working like a charm!
    Thanks man,
    I have been pulling my hair out trying to get my footer stuck in IE.
    I am guessing your wallet is the one that says badass motherfucker on it!

  109. Awesomeee!
    I never searched for this solution.. i was thinking to difficult.

  110. Awesome! Thanks

  111. thank you, fixed my issue :^)

  112. Works perfectly with Chrome and IE , but I have a Problem With Firefox :/

  113. Works perfect, until trying to combine with a snap.js mobile navigation :( Any ideas?

  114. Great! Thanks a lot!

  115. This is perfect. Amazing. I am only having one issue while I am using a css reset. The reset includes “body {line-height:1}” and that is causing my footer to have 1px underneath it of the background, meaning it is as if the footer is up 1px higher than it should be and not at the very very bottom of the page. This only happens in Chrome and Safari, not FF. My current solution is using Rafael’s cross browser selector to have Chrome and Safari bring my footer_wrapper down 1px with margin-bottom: -1px;

    If I am to remove the “body {line-height:1}” in the reset.css the problem goes away in every browser, so I know this is the issue. Amazing work here. See if you can possibly look into this and post/email me back. Thank you!

  116. thank god for people like you.

  117. Works! :))

  118. So so so much simpler than any other css solution I’ve come across. Super thanks goes to you for this.

  119. I’ve tested it with IE tester, added html5shiv.js (mandatory for HTML5 support in old IE’s) guess what: FULLY supported in IE7, partially in IE6 (footer width problem appears here)

    Fantastic. Thanks, I had to break all my code because of boring div#wrap…

  120. Simple, clean and easy solution. Much better than alternatives.

  121. Works a treat – simple! Thanks

  122. Thank you so much!! Way better then other solutions!

  123. Daimn – great ;)

  124. Really sexy solution, thanks man!

  125. Head’s up, folks: This footer does NOT work in any version of IE, including the most recent, if you have ANY floated elements in the body. Resizing the window will leave the footer high and dry, overlapping content. This footer is too simplistic for most modern layouts in IE.

    • Of course it does work. You must clear the floats, as with all floats used anywhere, since they’re out of document flow. In other words, floats don’t automatically expand their parents (which is a must have on body for this footer to work) unless you clear them.

      • other browsers effectively “clear” floated elements with your min-height, IE does not. you have to specify with a clear rule. half the comments about IE bugs in this post could be solved with that noted.

        • The min-height exists on the html element and isn’t inherited by the body. IE does have a slightly different approach to min-height since the beginning of time, but that doesn’t affect this scenario. If you want parents to expand to floated children, you must clear them in the many ways that you can – that’s something you have to do in all browsers. It is more likely that your specific clearing doesn’t work in IE.

  126. Hey There! I’m getting the weird “float over body” issue in IE8. I changed out the to but that didn’t seem to change anything. I also linked to modernizr.js to see if that would help, nothing. Any ideas on what else I can try? Thanks!

  127. James Dean indeed.

  128. Just discovered this elegant solution. Truly excellent! Thank you!

  129. WHat if you don’t the height of the footer

    • Then you can’t use it in such a simple fashion. You’d have to calculate the needed height with JS and resize both the CSS properties as needed and on the various events you could need (window resize etc.), but it can’t be automated just by pure CSS.

  130. Thank you so much mate!!!!

  131. appreciate the Samuel L. Ipsum in the demo ;)

  132. Oh thanks! This is just what i need ;)

  133. works like a charm

  134. For me it only works when there is no scrollbar because of not enough content. Same thing on smaller devices, the footer just floats in the center :)

  135. Thank you! Finally something that works :)
    But still.. I have a tiny space at the bottom. The scroll bar gets activated because of that.
    Is this normal ? Example: http://fishingbb.com/forum/deutsche

  136. Very very nice. As a mobile developer. This does work for blackberry Browser. Very well done.!!! I love it

  137. Gr8!.. Thanks for sharing.

  138. Very nice. Thanks!

  139. This is very easy, and can be implemented in seconds over any existing CSS without the need to edit HTML in templates.

    Thanks..

  140. Awesome! I tested quite a few options that didn’t work 100%. But this one does, thanks!

  141. Clean and simple. Unfortunately I tested my site in IE10 and pages where I have long content that uses a scroll bar, my footer now floats on top of my content. Much like Keevin’s issue. Was this ever resolved?

    • I need to see the specific code, from your description it sounds like your body tag is not expanding correctly or some wrapper serves as a position context for the footer instead of the body. I haven’t seen any issues in the demo using IE10.

  142. Love you paps! :*

  143. great…..searched many website but only your solution worked…thanks

  144. Thanks. Really really useful.

  145. this is absolutely wonderful

  146. quality. simple. Win!

  147. Hi,

    How one would make the footer expand horizontally if there’s an element with explicit width set. For example, I set the width of article to 1260px and it results in this if I make the window smaller: http://i.imgur.com/2upu2tI.png . Sure I could set the same min-width for the footer, but are there other options?

    • Sorry for not getting to you earlier. This is how elements naturally behave, they don’t necessarily contain the whole width of a child element and you cannot make that behavior fluid.

      What you can do however, with the same outcome, is to set the explicit width on the parent instead and have the children both expand to 100% width. In your example, instead of setting the width on the article, set it on the body and give your article and the footer element width 100%. If you need to recenter the body, use margin: 0 auto.

      If your specific case is a bit more complicated, you can use an additional parent element to hold both the footer and the article.

  148. I am using a 16 column grid within the body to align content. This is the link to the grid layout http://grids.heroku.com/grid?column_width=64&column_amount=16&gutter_width=0. The problem is that each grid column has a float which is causing it to not expand with the body and the footer overlaps with the content. Removing floats messes up the content alignment so I don’t wanna do that. Any help would be appreciated. Thanks!

    • I don’t see the footer implemented in there at all, but since you’re using blank divs to clear the floated content, the body should be expanding correctly. A simple overflow: auto on the .container div would be enough to not require the blank divs and expand the body the same way. In other words, I don’t see the problem since the footer code isn’t there. As a sidenote – that’s a pretty awful grid CSS you’re using, archaic and inflexible. I would venture to suggest you write your own or at least use the one from Foundation or Bootstrap.

      • Thanks for the quick reply. I copied your html, body and footer css into another css file that’s why you don’t see it in the file I linked.
        This is the structure of my html file:

        first column
        second column

        sticky footer
        </body

        You suggested using bootstrap or foundation grid system. I plan on keeping the layout fixed and not responsive, do you think this grid system might cause problems? If yes, do you know of any good fixed grid systems? Thank you for the help!

        • It doesn’t have to be responsive (as in ready for mobile/tablet media queries) to be flexible – it’s more of a question of maintenance. Let’s say you would want to increase the site width by 100px. In your case, you would have to adjust every single grid element, since they are given exact pixel sizes. If it was percentage based, the whole UI would adjust by itself.

          As for suggesting Bootstrap or Foundation, I’ll admit I don’t use grids at all. In my 15 years of front-end development experience I have yet to see a case where it is outright awesome to use (unless the site should look exactly like Bootstrap with all it’s widgets, buttons etc.). Grids tend to be bloated, collide with custom designs and generally a much more minimal and cleaner approach to the problem exists. At the same time, grids don’t address many other common front-end issues you encounter. I have no idea why are they actually as popular as they are.

          If you’re absolutely certain you need a grid, then I would highly suggest a fluid one, if only because of the easier maintenance. If you could link to the html file with the footer implemented, that would be great as I don’t have as much time now to implement it myself, but I could quickly debug the issue in dev tools.

          • Both of the techniques you mentioned (i.e. clearing floats or setting overflow to auto) worked. I will look into fluid grids as after reading your comments I realized that using fixed grids will cause problems in the future. Thanks for the help and advice!

  149. Beautiful!! So much easier than my previous method:) Thank you.

  150. Great! Thanks!

  151. Great piece of code. The only drawback is the fixed height that combined with a responsive layout can add a few complications, otherwise it works!

  152. I really like this sticky footer technique but just found a weird problem… It doesn’t work if you add -webkit-transform: translate3d(0,0,0) to the body tag…

    • It’s the same as adding position: relative or anything else that establishes a position context, which moves the footer relatively to the parent (body). Solution is simple – don’t do it :) If you need to animate the viewport, animate the whole html tag.

  153. Now it leaves an empty space after the footer, help ?

  154. This is great, thanks a lot :)

  155. Teşekkürler.O kadar uğraştım yapamadım senin sayende çözdüm sorunu.Artık translate’ten bakarsın ne dediğime :)

  156. Got it… Works like a champ… jeez, what a rad solution

  157. This works great until I scroll the page, then the footer goes up on top of the content, instead of staying fixed at the bottom on scrolling

  158. HI
    Unfortunately its not working for me as some pages doesn’t have much content http://www.bizonthenet.co.uk/devel/Our_services/design/design.aspx
    However those who have enough content works fine http://www.bizonthenet.co.uk/devel/aboutus/Our_approach.aspx i would really appreciate your comment. Is there something am missing?

  159. OMG, I cannot believe it’s really working. I tried a many other Sticky footer tutorials in the last 5 days and nothing works. Thanks a lot for this. I’m so happy! :-)

  160. Thank you so much, it works like a charm !

  161. Genius is what you are Padawan.

  162. This worked great! (Was a very welcome relief after spending 4hrs with other methods to no avail)
    Thank you!

  163. Absolutely perfect! This is the first sticky footer solution that’s worked first time round with no messy markup changes. Thank you so much!

  164. Thank you so much! It works perfectly !

  165. This worked wonderfully!

  166. Thanks for this. It’s working well everywhere apart from when I return an sql query with PDO. The last few lines of the table I’ve made overlap into the footer.

  167. Awesome! only sticky footer that I could get to work properly!!!

  168. hi, that piece of css could be the father of chuck norris!! but when hitting ctrl+ + the browser is about adding incountable amounts of whitespace under the footer … how could it be fixed? thanks :)

  169. Works perfectly in Chrome and FF, but in IE it’s just sticking to the bottom of the original screen and blocking some content if you have to scroll down. Any ideas on what it could be? Here’s a page on the site with this problem: http://familylawsoftware.com/fls_new/ca/index.html
    Any help would be appreciated!

    • Hi. Easy fix would be to remove float: left (which is debatable) and display: inline (which is wrong) from your #content div. The issue is that your body doesn’t expand height at all due to all it’s children being taken out of document flow – eg. floated. While the whole CSS layout of the site you linked is strange, this should at least hotfix the issue in IE.

      • Hi, thanks for the response! Unfortunately, this didn’t work…:(

        I agree that the CSS layout is pretty convoluted, I’m just doing the QA and tidying up but I’m considering rewriting some chunks of the style sheets for the site. Thanks for the input though!

        • It’s not as convoluted as it is badly written (my apologies if that’s your code, I tend to be direct). From what I tested quickly removing the float and inline display worked since it forced the body to finally expand, but I see you’ve made some more modifications that it somehow works in IE now, so I’ll leave the issue there. Good luck with the project in any case.

  170. Thanks a lot. I tried a lot of sticky footer tutorials together with bootstrap. This is the only on which works well. You are the best ;-)

  171. You spelled License wrong at the bottom of your post. Hope this goes a long ways ;)

  172. Perfect! Simply perfect. Thanks a lot, mate!

  173. Great sticky footer mystrdat!!!!

    I linked to you and wrote about it on our forum – thanks again!

    jheg

  174. เย็ดเขร้ สุดยอด

  175. I’ve used this on several sites and it’s always worked perfectly – but I’m having trouble with a new site-in-progress. I need #body-container to stretch to meet the #footer; I’ve tried adding a min-height to it, but it’s not working. What do I need to do? Here’s the site: http://www.redkitecreative.com/dev/kaput/

    • You’ve uncovered possibly the most negative issue with this layout – the body not stretching to full height as a minimum when you need to use it to scale a background or something else. There’s no easy way out of that, except for using a background for all your content on the body element which would propagate to the full height of html – this would work, although it’s not optimal. I have a more robust fluid layout in the works that uses this footer among other and addresses your issue in a mighty sexy way, but I won’t be releasing it in the short term future, because it’s still broken in many other ways. “When it’s done.” The body background pattern is your best bet.

      • Thanks for answering, I appreciate it. I’ve used other sticky footer methods in situations like this and will look around, but this is generally my go-to choice now for most sites.

  176. I spent 6 hours with other CSS tricks and javascripts, none worked very well, this took 2 seconds to add and worked perfectly. Wish I would have found this first!!

  177. Hi James, this is really great. I love the simple markup.

    Now I took your CSS as a base for a three-column test layout where my goal is to keep the markup as simple as possible (avoid wrapper divs if possible).

    This is my current result: http://aquilasoft.org/layout_test.html

    Now I’m far away from being a CSS master so it would be nice if you could take a look at the code and tell me if it’s possible to make the three columns (nav, main and aside) to have 100% height *without* the need of altering the markup?

    Any idea?

    • Hey, I’ll take a look at it later next week. I already have a real fluid 3 col layout around here somewhere based on this code here, I’ll see if I can dig it up – might as well release it if there’s demand. Though my name is not James. ;)

      • Oh, sorry. I thought “James Dean” was your real name but it seems it was just a wordplay. My bad, sorry. ;)
        Anyway, thanks for your answer and looking forward to see your three-column layout!

  178. Tip: If you want a margin to the elements above the sticky footer, then add the desired amount from the body margin. Ie. footer height 100px, body margin 120px.

  179. Nice, thank you sir!

    Tip: If you want a margin to the elements above the sticky footer, then subtract the desired amount from the body margin. Ie. footer height 100px, body margin 80px.

  180. You are the best person in the entire world.

  181. Omg! It DOES work! Thank u!! After trying so much of everything I am almost crying …

  182. Aaaaah! Now THAT’s a purist’s work. I owe you a gift next Xmas :-) Thanks for your work.

  183. Greetings from Copenhagen. Thank you so much. Worked like a charm. :)

  184. This looks nice but………. i’m using Zurb Foundation framework which has position: relative applied to the body. I don’t want to remove it as it’s probably there for a reason but it stops this working (I’m not sure why!?) The fix I found was to put another containing div around everything with position:relative and this seemed to work (similar to this http://blog.softlayer.com/2012/tips-and-tricks-pure-css-sticky-footers/). Any thoughts?

    • Likely it stops working because the body needs to be only as high as it’s content, it’s required to be fluid and chances are Foundation doesn’t follow that and sets a height: 100% somewhere. I’m afraid that another wrapper won’t fix it in all necessary scenarios as it will not inherit the max-height from your html tag. If you’re using something as heavy as Foundation, you will likely have to resort to it’s own toolset as there’s an awful lot of dependencies I have personally no interest in exploring. Doesn’t “the most advanced responsive front-end framework in the world” have some sort of a sticky footer solution built-in?

      • Afraid it doesn’t…. can I gauge from your tone you’re not a fan?

        • Not a fan of pixel based grid systems like bootstrap, but neither a fan of the solutions that foundation is based on (although it is rather flexible future-wise and much cleaner that bootstrap). I find them pointless to use in almost all cases, unnecessarily heavy and prone to deep dependency problems. One could say I’m merely waiting for CSS3 flexbox to wipe them all away.. yet a long wait that proves to be.

          If you have a direct link to where your specific issue can be debugged, I can take a look. Feel free to use my mail if you don’t want to go public. mystrdat@gmail.com

  185. this is sexy. Thanks!

  186. Thanks a lot! Superb solution.

  187. This worked well for sticking my footer to the bottom of the page, but I can’t seem to get my background texture (an image) to pull down to meet the footer. My background ends about halfway down the page, and then there is a large blank gap between it and the footer. Any suggestions on what may be going wrong?

    • Since the body doesn’t expand to 100% page height, but to it’s content height, this can be an issue. However, any time you put a background on the body element, it is projected onto the html element (which in this case is always expanded to full page height) and would therefore expand to the whole page, unless you have some background applied on the html element that would negate this inheritance. This won’t work for divs etc. nested inside the body, only the body element itself behaves this way. I would need to see your specific code to be sure of the exact context. If you don’t want to post a link in public, you can mail me on mystrdat@gmail.com.

  188. This still only works for me if the page is not longer than the screen height. When I scroll down my footer is overlaying my content
    Any help? Please?

    Thanks in advance!

    Site: http://collecthw.com/hw/id/4

    • You seem to have forgotten to add a margin to the body. In your case, add margin-bottom: 100px to the body element.

      • Added it to my css and still no change :(

        • I see. It’s because the bootstrap.css is linked later in the document head than your custom.css and overwrites any margin you use there. Bootstrap’s margin: 0 on body negates your changes. You can either change it in bootstrap, move your custom.css to load later than bootstrap (which you should anyway) or make the rule !important in your css file (which you should not).

          • I moved the positioning, I didn’t even notice that in my header file. Thanks for the help and the original code!

  189. This still only works for me if the page is not longer than the screen height. When I scroll down my footer is overlaying my content
    Any help? Please?

    Thanks in advance!

    • It could be that your html/body elements are set to height: 100% or something else incluences the needed flow. If you give me a link, I could tell you without having to guess.

  190. Saw this on stackoverflow. Awesome solution!

  191. Behandling med Sciton IPL er mer behagelig og tryggere enn vanlig IPL på grunn av innebygd kjøling i behandlingshodet. Dette gjør også at vi kan bruke mer energi og gå dypere i behandlingsområdet uten at det fører til skader på huden.www.kolibrimedical.com,vitalhudklinikk.no,cosmedica.no.

  192. Thanks !

  193. I think I love you. You have no idea how much this was annoying me and then James Dean swags along and lays the solution at my footer. Literally.

  194. Amazing. So simple and it works!

  195. Any advice on how to do this with a footer that doesn’t have 100% width?

    • Just change the width to anything you want. If you need to recenter it, put in left: 50% and margin-left: -(1/2 of width)px.

  196. You kick ass! So much better than the labyrinthine stickies I was trying.

  197. awesome ! :) Thanks

    • Remove position: relative from your #wrapper and use margins instead. Also your body margin-bottom is wrong as the footer is higher due to padding. The problem is that you’re killing the document flow by using unnecessary floats without any clearing.

      • Thanks for taking a look at it and helping. I know I’m a little beginner with CSS, sorry if some things are too obvious. Removing the position:relative placed the footer correctly at the bottom, but no matter what changes I do to the body margin-bottom it still overlaps with the body, I even gave crazy bottom margins and it still treats them as 0, so I don’t know what I’m missing :-S

  198. Yay, thanks a ton! ;D

  199. Thank you SO much – I’m working on a project and you might have just saved my life!

  200. This is amazing!! so simple yet so powerful, thanks a lot for this elegant solution =D!

  201. What’s the purpose of setting the footer height? Won’t the height be determined by what’s inside the footer?

    • In this scenario, body height is fully dependant on your content height and once it reaches the bottom of a page, it forces a scroll using it’s bottom margin as a bumper. Space reserved by the margin is filled with the footer, so both have to be equal in height.

  202. I may have to try this out one day.

  203. This is amazing .. even better than the Bootstrap. I changed the height to “Auto”

  204. shit yeah – this is an amazing bit of code, and some really elegant CSS authoring. great job!

  205. This is great! Thank you a lot! No more dirty sticky footers :)

  206. This trick worked great thanks, a lot…

  207. thank you so much, other solutions required major reworking of my html and css structure, whereas yours required me to add a few lines to my core css file, thank you!!! :) you have saved me a hell of a lot of time

  208. Wow thanks a lot for this. This is such a better solution that what exists out there — how come all the other solutions require all these extra ugly wrappers?

    • It’s rather unorthodox to use the html tag itself for positioning, since there’s this enormously widespread CSS habit of setting html, body {height: 100%;} and building a UI on top of that as a given core, which unfortunately kills the solution here (and many other flexible layout options), but it could have very well just served as an unquestioned showstopper at the time. In any case, using the html tag allows for elimination of the unnecessary wrapper elements and achieve an even greater flexibility thanks to how height is inherited and expanded from the top level. Then there’s the question of old IE support – this solution will not work correctly in IE7 and below since min-height isn’t understood by those browsers as it should be. Luckily, those days are gone. :)

  209. I have looking for this for weeks. Thank you!!!

  210. I hated having to use extra markup to achieve this.
    2N4401

  211. Absolute position? It doesn’t work. Resize your window smaller than the content of the page, reload the page, and find the footer covers the content. Only the “traditional” methods work, whether CSS or JavaScript.

    • Of course it does work, absolute position isn’t determining to anything when padding is used for expanding the body height. Mind the IE8+ note, not sure what you’re using to display it.

  212. This is great, very simple. Thanks so much!

  213. You can gracefully degrade in IE7 by adding the following rule

       
       
        footer {
            position: relative;
        }
       

       

    • No need to punish IE8 as well, “lt” would do. Still, this will not work as planned. No grace.

      •  Ooops… I meant what you said. Edited.

        • Cool, try the code though. Relative footer will not float at the bottom as desired. Issue is that IE7 doesn’t understand the HTML min-height correctly – it only reaches as far as the visible window area, not below the scrollbar.

          • I know it doesn’t sit at the bottom, but it should at least sit below the content. I guess it’s not the most graceful degrade, just trying to recover usability by not having the footer sit over the content.

            I do really like your solution. I hated having to use extra markup to achieve this.

          • I do see where you’re coming from with that, thanks for the contribution in any case. After all these years of extra CSS for IE5/6, I finally chose to disregard IE7 in my code altogether (since it fell below 5% recently and most being China based). It’s just a hacked-on IE6 core anyway, so many Jurassic problems.

  214. Dude.. that is SOOO SEXY!!!

  215. Fan-Effing-Tastic! Spanks a bunch!!!

  216. Nice, simple and clear! Good job! Great tip!

  217. why the racial slurs in the demo?

  218. best ever. clean, simple, works.
    mystrdat, you rock!

  219. Thank you so much :)

  220. Big thanks to you!  Every other sticky footer setup had small issues associated with it, but yours was the only one that worked perfectly.


Leave a comment

Trackbacks are disabled.