If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Small problem with div heights

so I made a parental div with 2 div's inside
and everything seems to work pretty fine, cuz the parental div expands when the divs inside expand aswell
the only problem I'm having is that one div inside the parent is a menu div so that doesnt need to be too long, and one div that contains text and that should become (very) long.
As soon as i start expanding the content div the parental div and the menu div both expand. The only problem I'm having is that contrary to the text div after expanding the background in the menu div doesnt repeat-y itself...
I have no idea what I'm doing wrong...

Off the top if my head, the smaller menu div height will not be expanding because its content is less - just set the background as a solid colour and you'll see that it never grows unless you directly increase its own content. Its a pretty common issue around the web, with people seeking "equal height" scripts and such to overcome it. Thats not necessary in this case as I believe you can get around it with a bit of trickery if you repeat the background image on the parent container instead of the menu div. As you know, the parent height will expand at the same rate as the text div, so you can be sure that the repeating background image on the parent and the repeating text background image will be of equal heights.

Oh wow....here ive been thinking of all diff kinds of weird things to get it working and the simplest of the simplest solution was forgotten in the process haha
thanks...i think that might actually work