Hi,
I'm having some problems with my layout.
I have a container div, and inside it i have 3 divs: one for header, one for menu and the last for content.
The problem is that the main container height is not dynamic, so its height is always the same and with the increase of text in the content div, this pulls out from the main container.
My english is not the best, so i've done some pics to illustrate this "problem":
This how the page would be:
This is what happens at this moment:
What can I do?
Thanks!
cseven wrote:What can I
What can I do?
Thanks!
Clear your floats?
You're welcome!
add clear:both or
add clear:both or clear:right to the footer element's css
add overflow: hidden; to the
add overflow: hidden; to the container div. works like a charm. make sure there is no height set on the container div. this will let it grow/shrink with the content.
will
syrupcore wrote:add
add overflow: hidden; to the container div. works like a charm. make sure there is no height set on the container div. this will let it grow/shrink with the content.
will
It worked :thumbsup:
Thank you all!
lokiloks wrote:add
add clear:both or clear:right to the footer element's css
Yes if you have a footer, if not, the overflow trick works best