I have this page layout:
<header>
<content>
<footer>
I have border-left and right applied to content, with min-height. BUT if the content is more than the min-height then the borders don’t re-adjust accordingly.
How can I fix this?
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.
You probably have some floating elements inside your content block, so the content block is not adjusting because of lack of ‘real’ content. Try adding something like
<br style="clear: both;" />inside your content block after the rest of what’s inside it.Or else, and perhaps even better, explain your problem with making a jsfiddle: http://jsfiddle.net/