height: 100% in CSS obviously doesn’t work. So is there any other CSS or JavaScript/jQuery solutions to this problem? Please advise.
height: 100% in CSS obviously doesn’t work. So is there any other CSS or
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.
‘Let’s say your problem element is a
<div>. If you make sure your<div>s height has something to reference to, almost all your problems will disappear:Make sure the
<div>‘s parents have a set height too. I usually do this (well, not exactly, but you get the idea):