lapucca
asked on
Lost my ul marks when I use the jQuery Accordian
I lost all the look of unsorted list items when I put the div for accordiaon in my code. How to fix this? Thank you.
<div id="accordion">
<h3>List of items</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
<div id="accordion">
<h3>List of items</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes that is the construct Jquery UI uses to identify the section body.
ASKER
got it! Thank you.
ASKER
Div fixed the problem. Question though, it was working fine before I use the Accordian. It's doesn't seem that I need div for using UL tag before. Is it require here becuase of using accordion?
Thank you.