How can I make jQuery UI buttons the same width with icons spaced same distance from right?
<p>I have code like this:</p>

<pre><code>&lt;div class="ui-widget"&gt;
    &lt;ul style="list-style-type: none; padding-left: 0;" id="menuList"&gt;
      &lt;li&gt;
        &lt;a href="/C2D" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-secondary" role="button"&gt;
          &lt;span class="ui-button-text"&gt;test test  test&lt;/span&gt;
          &lt;span class="ui-button-icon-secondary ui-icon ui-icon-triangle-1-e"&gt;&lt;/span&gt;
        &lt;/a&gt;
      &lt;/li&gt;
      ...
      ...
      &lt;li&gt;
        &lt;a href="/C2E" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-secondary" role="button"&gt;
          &lt;span class="ui-button-text"&gt;test&lt;/span&gt;
          &lt;span class="ui-button-icon-secondary ui-icon ui-icon-triangle-1-e"&gt;&lt;/span&gt;
        &lt;/a&gt;
      &lt;/li&gt;
      ...
      ...
      &lt;li&gt;
        &lt;a href="/C2F" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-secondary" role="button"&gt;
          &lt;span class="ui-button-text"&gt;test test&lt;/span&gt;
          &lt;span class="ui-button-icon-secondary ui-icon ui-icon-triangle-1-e"&gt;&lt;/span&gt;
        &lt;/a&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>My CSS looks like this:</p>

<pre><code>#menuList li a.ui-button span.ui-button-text { padding-top: 0; padding-bottom: 0; }
#menuList a.ui-button { margin-bottom: 5px; height: auto }
</code></pre>

<p>The result is some nice looking button links. </p>

<p>However all the buttons are different widths. What I would like to do is to have them all the same width for example 200px, and to have the pointer icons on the right all line up vertically. Something the same as in the following link:</p>

<p><a href="http://filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/" rel="nofollow">Flyout menu</a></p>

<p>Is there some way that I could change the CSS to make my links look like this? </p>
