Tree Drop Down - Drop Down Width

Last post 05-15-2007, 8:03 AM by Anonymous. 1 replies.
Sort Posts: Previous Next
  •  05-14-2007, 4:44 AM 29619

    Tree Drop Down - Drop Down Width

    Hi Adam,
     
    Please take a look at the attached screen shot. As you can see the width of the drop down area is a little small. After a bit of playing it seems that the initial width is determined by the width of the top level nodes. Would it be possible to set the min-width css style of this floating div to be the same width as the drop down area above?
     
    Many Thanks,
    Ady
     
     
     
  •  05-15-2007, 8:03 AM 29674 in reply to 29619

    Re: Tree Drop Down - Drop Down Width

    Ok,
     
    I clearly didn't think about this enough.
     
    If I add the following code to the first node's HTML property:
    <div style='width:180px;'>[[ORIGINAL HTML]]</div>
     
    This seems to have the desired result.
     
    Unfortunatly min-width doesn't work, but so long as the first element is less than 180px it should be ok.
     
    Thanks,
    Ady
View as RSS news feed in XML