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.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Why doesnt my div expand with new information

I have two div's, they are both associated with a drag and drop feature with JS, the problem i am running into is that when i drag and drop a new block into the div it refuses to expand, and when i tag the height with inherit, it just enlarges to god knows what size. Here is my code, i have looked through the JS and have found in no way it affecting the css...

Hard to tell without the JS, but I worked on a similar issue where the container wouldn't expand vertically because of the dynamically generated content. I ended up recoding the JS to calculate the new height of the box based on the height of the new content.

Later I got rid of the problem by nesting the container in another container not affected by floats.

thanks rmedek, the unfortunate things is that i am working on an internal intranet so its pswd protected, but i never thought that maybe the JS could contain the div, i will just create a function to do so.