I seem to have the collapsing border problem I think and cannot remember how to solve it.
I have a wrapper div which isn't floated used to center everything on the page.
Only the wrapper div, is zero in height and the content is floating past the wrapper div.
how do I make the wrapper div expand downwards in line with its content so I can apply a bottom padding to the wrapper div?
thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
I have a wrapper div which isn't floated used to center everything on the page.
Code:
<div id="wrapper" style="margin:0 auto; width:800px;">
<div style="float:left;">
some content
</div>
<div style="float:left;">
some more content
</div>
</div>
Only the wrapper div, is zero in height and the content is floating past the wrapper div.
how do I make the wrapper div expand downwards in line with its content so I can apply a bottom padding to the wrapper div?
thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!