What's wrong with this jQuery accordion code?
<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
        &lt;title&gt;jQuery UI Example Page&lt;/title&gt;
        &lt;link type="text/css" href="css/ui-lightness/jquery-ui-1.8.18.custom.css" rel="stylesheet" /&gt;   
        &lt;script type="text/javascript" src="js/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"&gt;&lt;/script&gt;
    &lt;/head&gt;

    &lt;script&gt;
        $(document).ready(function(){
            $('#accordion').accordion();
        });
    &lt;/script&gt;

    &lt;body&gt;

        &lt;ul id="accordion"&gt;
      &lt;li&gt;
        &lt;a href="#"&gt;Header 1&lt;/a&gt;
        &lt;div&gt;Wow, look at all this content that can be shown or hidden with a simple click!&lt;/div&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#"&gt;Header 2&lt;/a&gt;
        &lt;div&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean sollicitudin. Sed interdum pulvinar justo. Nam iaculis volutpatligula. Integer  
        vitae felis quis diam laoreet ullamcorper. Etiam tincidunt est vitae est. Ut posuere, mauris at sodales rutrum, turpis tellus fermentum metus, ut      
        bibendum velit enim eu lectus. Suspendisse potenti. &lt;/div&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;a href="#"&gt;Header 3&lt;/a&gt;
        &lt;div&gt;Donec at dolor ac metus pharetra aliquam. Suspendisse purus. Fusce tempor ultrices libero. Sed quis nunc. Pellentesque tincidunt viverra felis.  
        Integer elit mauris, egestas ultricies, gravida vitae, feugiat a, tellus.&lt;/div&gt;
      &lt;/li&gt;
    &lt;/ul&gt;

    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>This code returns the first image, how do I make it to be like the second image? The styling doesn't matter though, I only want the tabs to be properly aligned like the second image</p>

<p>First image -> <img src="http://i.stack.imgur.com/aRwQf.jpg" alt="enter image description here"></p>

<p>Second image -> <img src="http://i.stack.imgur.com/m3WPs.jpg" alt="enter image description here"></p>
