View Full Version : Padding style '0 0 0 135px' not working in IE

14 May 2012, 9:59 PM
i am aligning a button so that it is aligned according to the requirement..

the code i have used looks like this..

text : '',
style: {
padding: '0 0 0 135px'

it is working accordingly in firefox but not working in Internet Explorer...i am not able to know the reason...
Please suggest..

Thanks in Advance,

14 May 2012, 10:05 PM
Hi Sandeep,

I am still thinking you are asking question about button aligning and using xtype label in your code....
Any way, try margin instead of padding.

14 May 2012, 10:12 PM
Thanks sword for your quick reply...
it was a typing error that i have posted 'label' instead of 'button'

Your suggestion of using margin instead of padding works ...!!
Thank you very much