I am trying to create a jQuery UI button with a custom icon on the top of the text. The default behavior creates icon on the left/right of the text but I want the icon to be on the top! Can this be done? If so, your help/guidance is greatly appreciated.
Also, how can one have a 32x32 size Custom Icon (even increasing the height of the button didn't help and was stripping the icon). Thanks in advance.
HTML:
<button id="btnSave">Save</button>
JS:
$('#btnSave').button({
icons: {primary: "saveIcon"}
});
CSS:
.saveIcon {
background-image: url(../images/Save.png) !important;
}