简体   繁体   中英

jQuery UI strange button issue

I'm trying to achieve something like this

在此处输入图片说明

http://jqueryui.com/demos/button/#icons

Getting

http://jsfiddle.net/p5PzU/1/

Why it's height so little? It's shape must be like square but I'm getting rectangle. What am I missing?

You need to add some text inside the button element. Even a   is fine. Then combine it with the text:false option. http://jsfiddle.net/p5PzU/2/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM