PDA

View Full Version : Button border



Voles
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!!

Screenshot:
http://i55.tinypic.com/bij9ko.png

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

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

#declineBtn{
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'
}