#nodethreads { padding-right: 1em; white-space:normal; } #nodethreads ul { list-style: none; margin-left: 0; padding-left: 1em; text-indent: 0em; white-space:normal; } #nodethreads li {width: 100%;} #nodethreads ul.expanded { display: block; } #nodethreads ul.collapsed { display: none; }