CSS gurus, can I make my absolutely positioned child element force the main parent's height?
- by alex
This is kind of hard to explain.
I have an absolutely positioned floating secondary content box.
It works great in all occurrences.
Except, when you submit a form and don't fill out the fields (see here, and push send). The box expands to show the errors, and underneath the footer there is a blank space. The best example I can give is to see it in action (link above).
I've played with min-height and it didn't work too good. I'd also like to avoid expanding the footer with code in the event of form errors if I can help it.
Should I ditch the absolute positioning? And try with margins? Is there any other way to get it to work?