My Menu

JQueryUI widget icon plus icon

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>

      

Currently ui icon appears below "My Menu"

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

+2


a source to share


1 answer


add style "display: inline-block"; to ui icon, or wrap my menu in between and use floats



+3


a source







All Articles