PDA

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



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

the code i have used looks like this..


xtype:'button',
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,
Sandeep.

sword-it
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.

sbodanapu
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