I’ve this button
$('#galery .buttonClose').button({
icons: {
primary: "ui-icon-closethick",
text: false
}
});
css :
#galery .buttonClose{position: absolute; top: 3px; right: 3px; height: 30px; width: 30px;}
It’s working fine on Chrome the icon is centered on the button but in Firefox the icon is completly down
jsFiddle :
http://jsfiddle.net/nDMV8/2/
This seems to be a common bug in jQuery UI i think they should plan something when you try to do a button with no text to set the css correctly and working in all browsers. Like they show all the icons on their themes page (bottom): http://jqueryui.com/themeroller/
You also have your text: false option in the wrong place, it should be:
Thanks to jmoerdyk
Then i just had to set the height at 32px and fixed !