Hi,
Option 1:
Please avoid using defined value for size like this,
width: 100%; [Correct]
height: 22px; [Vary upon screen resolution]
Try to use (%), so that it won't effect in any browser or resolutions.
Option 2:
ajaxlibrary-accordion-sample[
^]
Here in Ajax tool kit there is an option named [accordion], which solves your problem.
See the demo in the same URL under the topic [accordion]