|
I'm having a slight problem, I've managed to work round it, but it's not elegant so was hoping someone might have a better solution.
Basically I have a site that is your basic banner, 3 columns, footer (although the footer is inside the middle column).
What I have is a div for the header, underneath it I have a div that contains the 3 columns. This is positioned relative, so that I can use absolute positioning on the 3 columns.
BUT, the containing DIV seems to have no width or height, but I want to style it with a drop shadow graphic.
It seems to be that if a DIV is positioned relative, and it's only content is absolutly positioned divs the DIV dosn't grow around it's content, which I guess is in line with the old box model.
Is there a way to get the containing div to actually grow around it's content when it's positioned absolute/relative and so are it's children?
|