How would you get a height: 100% inside a min-height: 100% working?
Share
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.
I usually use:
And on the outer div:
Using static positioning doesn’t work, because the browser needs the outer div’s height to calculate the inner div’s height. But it doesn’t know the outer div’s height until it has calculated the inner div’s…
However, my solution can’t be used in many situations. Maybe someone else has a better one.