English 中文(简体)
(千美元)
原标题:iPhone Safari actual resolution

I ve JUST gotten a bit/60/6.

使用吉克里移动的Im;

<meta content= width=device-width, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no  name= viewport >

产出

alert(Data.$activePage.find( div[data-role=content] ).width());

我在使用我的4月i got 480x320时,预计每人为960x480美元:

谁能向我解释一下这里的情况? 我需要确保我的篮子在3,4,ipad safari看到良好,并期望他们通过分散的决议。

最佳回答

第4版技术性决议越高,情况就是如此。 然而,它的报告和比额表仍为480x320。 有理由认为,为了接口的目的,它与你的P-3相同。 处理高分辨率决议的陷阱是,你需要利用高分辨率图像,以便尽可能地看管。 例如,如果你有一片影像背景,那么,在四台电话上,你想要使用一个高分辨率图像。

例:

.logo-large{
    background-image:url(../images/logo.png);
    background-repeat:no-repeat;
    background-position:0 0;
    position:relative;
    top:0;
    left:0;
    width:290px;
    height:65px; 
}

/* HD / Retina -----------------------------------------*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
   only screen and (min--moz-device-pixel-ratio: 1.5),
   only screen and (min-resolution: 240dpi) {
    .logo-large{
        background-image:url(../images/logoHD.png);
        background-size:290px 65px;
    }
}
问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签