what is the most efficient way of having a 100% header, then a fixed width content, and a 100% footer?
I’m trying to limit my divs to the maximum, but now i’m quite stuck…
anybody help?
Thx a lot
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the simplest version:
CSS:
http://jsfiddle.net/Madmartigan/adkfF/3/
Here is a version with the header and footer’s inner content fixed width to align with the main content:
http://jsfiddle.net/Madmartigan/adkfF/1/
3 divs is just about as simple as you can go, I assumed you wanted to minimize your divs and not “limit my divs to the maximum” 🙂