jQueryUI widget text plus icon

Posted by cf_PhillipSenn on Stack Overflow See other posts from Stack Overflow or by cf_PhillipSenn
Published on 2010-04-28T15:00:35Z Indexed on 2010/04/28 15:03 UTC
Read the original article Hit count: 153

Filed under:

I have:

<div class="ui-widget">
   <div class="ui-widget-header">
      My Menu<span class="ui-icon ui-icon-circle-triangle-n"></span>
   </div>
   <ul class="ui-widget-content">
      <li>Menu Item 1</li>
      <li>Menu Item 2</li>
      <li>Menu Item 3</li>
   </ul>
</div>

Right now, the ui-icon is appearing below "My Menu"

Q: How can I get "My Menu" to appear on the same line as the UI widget?

© Stack Overflow or respective owner

Related posts about jquery-ui