Return to article
ModeBrowserPhoneGapHomescreen
OrientationPortraitLandscapePortraitLandscapePortrait
ViewportNon-constrainedConstrainedNon-constrainedConstrainedNon-constrainedNon-constrainedNon-constrainedConstrained
DoctypeNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMP
iOS v5.0screen.width320320320320320320320320320320320320320320320320320320320320320320320320
screen.availWidth320320320320320320300300300300300300320320320300300300320320320320320320
window.outerWidth320320320320320320480480480480480480320320320480480480320320320320320320
window.innerWidth980980320320320320981981480480480480320320320480480480980980320320320320
document.body.clientWidth-/b:980-/b:960-/b:300-/b:320-/b:300-/b:300-/b:980-/b:960-/b:460-/b:480-/b:460-/b:460-/b:320-/b:300-/b:300-/b:480-/b:460-/b:460-/b:980-/b:960-/b:300-/b:320-/b:300-/b:300
document.body.offsetWidth-/b:960-/b:960-/b:300-/b:300-/b:300-/b:300-/b:960-/b:960-/b:460-/b:460-/b:460-/b:460-/b:300-/b:300-/b:300-/b:460-/b:460-/b:460-/b:960-/b:960-/b:300-/b:300-/b:300-/b:300
@media device-width320320320320320320320320320320320320320320320320320320320320320320320320
@media width980980320320320320980980480480480480320320320480480480980980320320320320
screen.height480480480480480480480480480480480480480480480480480480480480480480480480
screen.availHeight460460460460460460480480480480480480460460460480480480460460460460460460
window.outerHeight356/c:445356/c:445356/c:1602356/c:1602356/c:1602356/c:1602208/c:667208/c:667208/c:1702208/c:1702208/c:1702208/c:1702460/c:1602460/c:1602460/c:1602480/c:1202480/c:1202480/c:1202480/c:460480/c:460480/c:1602480/c:1602480/c:1602480/c:1602
window.innerHeight1091109135635635635642542520820820820846046046030030030014091409460460460460
document.body.clientHeight-/b:1091-/b:1336-/b:1576-/b:356-/b:1576-/b:1576-/b:425-/b:1336-/b:1676-/b:208-/b:1676-/b:1676-/b:460-/b:1576-/b:1576-/b:300-/b:1176-/b:1176-/b:1409-/b:1336-/b:1576-/b:460-/b:1576-/b:1576
document.body.offsetHeight-/b:1336-/b:1336-/b:1576-/b:1576-/b:1576-/b:1576-/b:1336-/b:1336-/b:1676-/b:1676-/b:1676-/b:1676-/b:1576-/b:1576-/b:1576-/b:1176-/b:1176-/b:1176-/b:1383-/b:1336-/b:1576-/b:1576-/b:1576-/b:1576
@media device-height480480480480480480480480480480480480480480480480480480480480480480480480
@media height1091109135635635635642542520820820820846046046030030030014091409460460460460
window.orientation000000909090909090000909090000000
@media orientationportraitportraitportraitportraitportraitportraitlandscapelandscapelandscapelandscapelandscapelandscapeportraitportraitportraitlandscapelandscapelandscapeportraitportraitportraitportraitportraitportrait
iOS v4.3screen.width320320320320320320320320320320320320320320320320320320
screen.availWidth320320320320320320300300300300300300320320320300300300
window.outerWidth320320320320320320480480480480480480320320320480480480
window.innerWidth980980320320320320981981480480480480320320320480480480
document.body.clientWidth-/b:980-/b:960-/b:300-/b:320-/b:300-/b:300-/b:980-/b:960-/b:460-/b:480-/b:460-/b:460-/b:320-/b:300-/b:300-/b:480-/b:460-/b:460
document.body.offsetWidth-/b:960-/b:960-/b:300-/b:300-/b:300-/b:300-/b:960-/b:960-/b:460-/b:460-/b:460-/b:460-/b:300-/b:300-/b:300-/b:460-/b:460-/b:460
@media device-width------------------
@media width------------------
screen.height480480480480480480480480480480480480480480480480480480
screen.availHeight460460460460460460480480480480480480460460460480480480
window.outerHeight356/c:549356/c:549356/c:1602356/c:1602356/c:1602356/c:1602208/c:824208/c:824208/c:1962208/c:1962208/c:1962208/c:1962460/c:1602460/c:1602460/c:1602480/c:1202480/c:1202480/c:1202
window.innerHeight10911091356356356356425425208208208208460460460300300300
document.body.clientHeight-/b:1091-/b:1656-/b:1576-/b:356-/b:1576-/b:1576-/b:425-/b:1656-/b:1936-/b:208-/b:1936-/b:1936-/b:460-/b:1576-/b:1576-/b:300-/b:1176-/b:1176
document.body.offsetHeight-/b:1656-/b:1656-/b:1576-/b:1576-/b:1576-/b:1576-/b:1656-/b:1656-/b:1936-/b:1936-/b:1936-/b:1936-/b:1576-/b:1576-/b:1576-/b:1176-/b:1176-/b:1176
@media device-height------------------
@media height------------------
window.orientation000000909090909090000909090
@media orientation------------------
ModeBrowserPhoneGap
OrientationPortraitLandscapePortraitLandscape
ViewportNon-constrainedConstrainedNon-constrainedConstrainedNon-constrainedNon-constrained
DoctypeNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMP
Android v4.0screen.width320320320320320320480480480480480480320320320480480480
screen.availWidth320320320320320320480480480480480480320320320480480480
window.outerWidth320320320320320320320/b:480320/b:480480320/b:480320/b:480320/b:480320320320480480480
window.innerWidth320/b:980320/b:980320320320320320/b:980320/b:980480320/b:480320/b:480320/b:480320320320320/b:480320/b:480480
document.body.clientWidth-/b:980-/b:960-/b:300-/b:320-/b:300-/b:300-/b:980-/b:960-/b:460-/b:480-/b:460-/b:480-/b:320-/b:300-/b:300-/b:480-/b:460-/b460
document.body.offsetWidth-/b:960-/b:960-/b:300-/b:300-/b:300-/b:300-/b:980-/b:960-/b:460-/b:460-/b:460-/b:460-/b:300-/b:300-/b:300-/b:480-/b:460-/b460
@media device-width320320320320320320480480480480480480320320320480480480
@media width320/b:980320/b:980320320320320320/b:980320/b:980480320/b:480320/b:480320/b:480320320320320/b:480320/b:480480
screen.height480480480480480480320320320320320320480480480320320320
screen.availHeight480480480480480480320320320320320320480480480320320320
window.outerHeight455455455240/d:455240/d:455240/d:455240/b:295240/b:295240/d:295240/d:295240/d:295240/d:295455455455295295295
window.innerHeight240/b:1234240/b:1234403403403240/d:403240/b:496240/b:496243240/b:243240/b:243240/b:243240/b:455240/b:455455240/b:295240/b:295295
document.body.clientHeight-/b:1234-/b:1682-/b:1682-/b:403-/b:1682-/b:1682-/b:496-/b:1302-/b:1302-/b:243-/b:1302-/b:1302-/b:455-/b:1682-/b:1682-/b:295-/b:1302-/b:1302
document.body.offsetHeight-/b:1682-/b:1682-/b:1682-/b:1682-/b:1682-/b:1682-/b:1302-/b:1302-/b:1302-/b:1302-/b:1302-/b:1302-/b:1682-/b:1682-/b:1682-/b:1302-/b:1302-/b:1302
@media device-height480480480480480480320320320320320320480480480320320320
@media height240/b:1234240/b:1234403403403240/b:403240/b:496240/b:496243240/b:243240/b:243240/b:243240/b:455240/b:455455240/b:295240/b:295295
window.orientation0000000/b:900/b:900/b:900/b:900/b:900/b:90000909090
@media orientationportraitportraitportraitportraitportraitportraitlandscapelandscapelandscapelandscapelandscapelandscapelandscape/b:portraitlandscape/b:portraitportraitlandscapelandscapelandscape
Android v2.3screen.width800800800/c:320800/c:320800/c:320800/c:320800800800/c:480800/c:480800/c:480800/c:480320320320480480480
screen.availWidth800800800/c:320800/c:320800/c:320800/c:320800800800/c:480800/c:480800/c:480800/c:480320320320480480480
window.outerWidth320320320320320320480480480480480480320320320480480480
window.innerWidth800800800/c:320800/c:320800/c:320800/c:320800800800/c:480800/c:480800/c:480800/c:480320320320480480480
document.body.clientWidth-/b:800-/b:780-/b:780/c:300-/b:800/c:320-/b:780/c:300-/b:780/c:300-/b:800-/b:780-/b:780/c:460-/b:780/c:480-/b:780/c:460-/b:780/c:460-/b:320-/b:300-/b:300-/b:480-/b:460-/b:460
document.body.offsetWidth-/b:780-/b:780-/b:780/c:300-/b:780/c:300-/b:780/c:300-/b:780/c:300-/b:780-/b:780-/b:780/c:460-/b:780/c:460-/b:780/c:460-/b:780/c:460-/b:300-/b:300-/b:300-/b:460-/b:460-/b:460
@media device-width------------------
@media width------------------
screen.height1003498/d:1003498/c:1991003/c:4011003/c:4011003/c:401402372/d:402402/c:241402/c:241372/c:223/d:241402/c:241455455455295295295
screen.availHeight1003498/d:1003498/c:1991003/c:4011003/c:4011003/c:401402372/d:402402/c:241402/c:241372/c:223/d:241402/c:241455455455295295295
window.outerHeight455253/d:455253/d:455455455455295277/d:295295295277/d:295295455455455295295295
window.innerHeight1003498/d:1003498/c:1991003/c:4011003/c:4011003/c:401402372/d:402402/c:241402/c:241372/c:223/d:241402/c:241455455455295295295
document.body.clientHeight-/b:1003-/b:1682/d:922-/b:1682-/b:1003/c:401-/b:1682-/b:1682-/b:402-/b:1302/d:922-/b:1302-/b:402/c:241-/b:1302-/b:1302-/b:455-/b:1682-/b:1682-/b:295-/b:1302-/b:1302
document.body.offsetHeight-/b:1682/d:922-/b:1682/d:922-/b:1682-/b:1682-/b:1682-/b:1682-/b:1302/d:922-/b:1302/d:922-/b:1302-/b:1302-/b:1302-/b:1302-/b:1682-/b:1682-/b:1682-/b:1302-/b:1302-/b:1302
@media device-height------------------
@media height------------------
window.orientation0000000/d:909090909090000909090
@media orientation------------------
ModeBrowser
OrientationPortraitLandscape
ViewportNon-constrainedConstrainedNon-constrainedConstrained
DoctypeNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMPNoneHTML5XHTMLMP
Opera v11screen.width320320320320320320480480480480480480
screen.availWidth320320320320320320480480480480480480
window.outerWidth320320320320320320480480480480480480
window.innerWidth320320320320320320480480480480480480
document.body.clientWidth-/b:850-/b:830-/b:300-/b:320-/b:300-/b:300-/b:850-/b:830-/b:460-/b:480-/b:460-/b:460
document.body.offsetWidth-/b:2048-/b:830-/b:300-/b:2048-/b:300-/b:300-/b:2048-/b:830-/b:460-/b:2048-/b:460-/b:460
@media device-width------------
@media width------------
screen.height480480480480480480320320320320320320
screen.availHeight369369369369369369209209209209209209
window.outerHeight369369369369369369209209209209209209
window.innerHeight369369369369369369209209209209209209
document.body.clientHeight-/b:980-/b:946/d:1706-/b:1706-/b:369-/b:1706-/b:1706-/b:370-/b:946/d:1326-/b:1326-/b:209-/b:1326-/b:1326
document.body.offsetHeight-/b:40960-/b:946/d:1706-/b:1706-/b:40960-/b:1706-/b:1706-/b:40960-/b:946/d:1326-/b:1326-/b:40960-/b:1326-/b:1326
@media device-height------------
@media height------------
window.orientation------------
@media orientation------------