I am using the accordion for the first time, but for some reason it does not display correctly. The icon is located behind the text, and there is no field to the left of it.
The minimum example is as follows:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>test</title> <link type="text/css" href="css/cupertino/jquery-ui-1.8.24.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/vendor/jquery-1.8.2.min.js"></script> <script type="text/javascript" src="js/vendor/jquery-ui-1.8.24.custom.min.js"></script> <script type="text/javascript"> $(function(){ $("#accordion").accordion({ header: "h3", active: false, collapsible: true, fillSpace: true }); }); </script> </head> <body> <div id="accordion"> <div> <h3>test</h3> <div>bla bla bla</div> </div> </div> </body> </html>
a screenshot of how it looks to me can be viewed here
Does anyone know how to solve it?
source share