PDA

View Full Version : Sencha app 640px wide does not auto scale device width



phpexpert83
7 Aug 2013, 6:28 AM
I have created an sencha app having layout of 640px..

But it does not auto scale (scale to 0.5) in 320px wide smart phones.

I have used this viewport tag it should work but not working. also have css like below so total layout width is 640px, generally web page scales and fits to the page..

let me know If some one have this issue before..

<meta name="viewport" content="width=device-width;" />

.slid_img{margin: 0px auto; width: 552px;list-style:none;display:block;}

.category{
background-image: url("../images/menu_sprite.png");
background-position:510px -3px;
height: 98px!important;
width: 128px!important;
}

.tweets{
background-image: url("../images/menu_sprite.png");
background-position:255px -3px;
height: 98px!important;
width: 128px!important;
}