If you have a parent div that wraps a fixed height div and a 100% height div. However, the fixed height div overlaps it’s parent. Please check out this fiddle: http://jsfiddle.net/Wcgvt/.
Thank you!
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’ve forked your Fiddle and added some CSS here.
What you want to do is make your container (
d3)position: relativeso that you can useposition: absoluteon the overflowing container, like this:Here, I’m setting top to
54pxto push it down from the header, and every other dimension to0pxto push it to the edge. Changetop: 54pxto however high you header is.The only caveat this method has is you have to set an explicit height for the header.
As an aside, I hope you’re using more sensible class names in your actual code; I lost track of which
dis which a lot of times.