I have a div within a table cell, I am populating it with divs using php (a div based treeview). I've set the treeview's parent div to an overflow of hidden. I am setting the table cell's width using a drag and drop div, but the table cell stops shrinking when it gets to the treeview's text. Shouldn't the hidden allow the div to continue to shrink? I've adjusted my code for simplicity. Click the tall thin gray div, it will set the <td> to a width of 2px, but the treeview code seems to be forcing it to stay wider.
While I not sure what the problem is from your description,
have you tried changing the position:absolute to position:relative
in the id="splSplitter" <div> tag?
If that not what you want, could you further explain again
what should happen when you click on the gray line?
Sorry I wasn't clear. When the gray bar is clicked the left table cell should collapse to a width smaller than the 'treeview' text, since the tree's parent div has an overflow of hidden. But the text seems to be forcing all my divs to its width. I need to be able to dynamically collapse that table cell to as narrow as I want, cuz that gray bar (in my app) is actually a draggable bar for resizing the left panel. (I am building a help system like site)
Bookmarks