I'm using jQuery Accordion with 6 <h3>
headers and several <div>
sub elements. When I open all the sections and then close them again. The accordion ends up about 100px lower down the page.
Is there a way to anchor the first <h3>
so that the Accordion always ends up closed in the same place?
Here's how I fixed it. The 'top' and 'left' parameters give the position of the accordion specific to my page.
#accordion:first-child
{
position: absolute;
top:51px;
left:8px;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With