Dave's Brain

Browse - Programming Tips - I can't put anything beside a jQueryUI icon. How can I fix this?

Date: 2015may6
Library: jQueryUI

Q.  I can't put anything beside a jQueryUI icon.  How can I fix this?

A.  Use display: inline-block like this:

<span class="ui-icon ui-icon-clock" style="display: inline-block"></span>
More info http://api.jqueryui.com/theming/icons/

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.