dhtmlXTree and scrollbar

I have a tree in a resizable div. I must create the tree with a fixed width otherwise I have problems with Firefox. If the tree has the scrollbar and I enlarge the div, the scrollbar remains at the same position, but I would like that the widht of the tree and its scrollbar enlarge together with my div, and they have to have the same width.

How can I resolve this problem?

Just use 100% as width and height of tree’s container.�The tree need not any addiitonal js command to adjust to the new size<div id=“tree_box” style="width:100%; height:100%; " …