You could also hide the scrollbar by adding overflow:hidden; in your CSS
This will get rid of the scrollbar, but if I have too much text for the height of the div, overflowing text will vanish.
If you want to set it automatically, you can have a height:100%; in your p1 div.
Yes, I thought that would work too - it was the first thing I tried. What happens is that the browser uses the first panel as it's 'measurement' for 100%. Content fits perfectly into the first panel. But subsequent panels are all exactly the same size as the first, regardless of how much or little text they have. Once again I get scrollbars or large amounts of white space.
The only way I can see to get around this is to put the largest amount of content in my top/default panel and have white space in subsequent panels...
It's frustrating - it's like the spry accordion was made for one purpose only. I'm starting to think maybe it's not worth the trouble...
I'm also thinking I might have searchability issues. Like, if a search returns a keyword that is relevant to the second panel only, the page will still default to the first panel, and the searcher won't realise that the relevant content is even on the page...
