View Full Version : Button border

23 Mar 2011, 10:30 AM
Hi all!

I was inspecting this button with the web inspector from Chrome, but could not find a CSS-rule that makes this thin white/gray border.

Is there any way to remove it?

Thanks a lot!!


Edit: fixed. The border was from the fieldset and not the button itself. :-)

16 Aug 2012, 6:27 AM
If you use image for the button skinning like this

width: 153px;
height: 53px;
display: block;
background: url(../resources/images/legal/cancel_button_default.png) no-repeat top;

then in the button definition, you need to specify the "ui" property as "plain" in order to get rid of the white border around the image.

xtype: 'button',
id: 'declineBtn',

ui: 'plain'