PDA

View Full Version : Css Not working



AJAIN32
18 Jun 2014, 9:20 PM
Hi,

I have a image control, and i am using one css for that including height,width,padding & margin(0 px).

This control is appearing differently in Document Mode -7 and Document Mode-9.

Can anyone pls tell me how it differs in both the document mode or how to make it consistent ?

Thanks in advance,
Ankit

scottmartin
19 Jun 2014, 2:00 PM
You would need to present your code for anyone to help out.

AJAIN32
23 Jun 2014, 10:21 PM
I Apologize for replying late,

I am using a control :
{
xtype:'image',
itemId:'BannerImage',
cls:'banner-cls'
}
and my banner-cls is -

width: 18px !important;
height:20px !important;
padding-0px !important;

So the problem is, this simple configuration of the image is behaving differently in the IE7 and IE9.
can anyone help me to understand that how sencha calculates the height & width in different version of IE.

Thanks,
Ankit