Solved

How can I make this div fixed so the content goes under it when scrolled?

Posted on 2013-01-12
4
257 Views
Last Modified: 2013-01-12
http://www.geniesgameroom.com/ee/#!/page_Portfolio

I want to make the footer fixed at the bottom. It should be about 100px or so. How can I do this so that the footer is fixed and the content goes under it when scrolling down?

Any help is appreciated.
Thank you in advance
0
Comment
Question by:CavemanLawyer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Amar Bardoliwala earned 250 total points
ID: 38770009
Hello CavemanLawyer,

Following should help you.

http://css-tricks.com/snippets/css/fixed-footer/
http://ryanfait.com/resources/footer-stick-to-bottom-of-page/

Thank you.

Amar Bardoliwala
0
 
LVL 53

Assisted Solution

by:COBOLdinosaur
COBOLdinosaur earned 250 total points
ID: 38770183
validate and fix the errors in the HTML
validate and fix any CSS errors
Use display:fixed on the footer along with a value for bottom and z-index

This might help you understand how fixed positioning works


Cd&
0
 

Author Comment

by:CavemanLawyer
ID: 38770666
Does this work for the <footer> tag in html5? I can't get it to be fixed for some reason.
0
 

Author Comment

by:CavemanLawyer
ID: 38770669
nevermind. I got it. I had to remove relative position. It does in fact work for the footer tag as well.

Thank you!
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question