2011-06-04 59 views

回答

0

嗯不知道其他智能手機,但iPhone(舊款)的尺寸是320 x 480.我真的不認爲智能手機上有200像素的寬度,但我也可以在這方面取得成功。

支持的瀏覽器:http://jquerymobile.com/gbs/

你也可以運行媒體查詢或添加一個斷點:http://jquerymobile.com/demos/1.0a4.1/#docs/api/mediahelpers.html

要利用自己的寬度斷點,jQuery Mobile的公開$ .mobile.addResolutionBreakpoints功能,它可以接受一個數字或一組數字,只要它們適用,它們將被添加到最小/最大斷點。

//add a min/max class for 1200 pixel widths   
$.mobile.addResolutionBreakpoints(1200); 

//add min/max classes for 1200, and 1440 pixel widths   
$.mobile.addResolutionBreakpoints([1200, 1440]); 
0

min-width正在使用最多的移動瀏覽器。 什麼是不可用有水平和垂直滾動條 - 原則上沒有這樣的事情。

相關問題