Initial Screen&Window Dimensions & MediaQueries
For ALL browsers (uses every possible permutation of variable names)
Viewport unconstrained -- see also with "viewport" constrained to device width and density

SCREEN
screen.-

WINDOW
window.-

BODY
document.body.-

DOCUMENT
document.documentElement.-

MEDIA QUERIES

DENSITY METRIC

ORIENTATION



Related Links

Web Browser Page-Level Events in Javascript

Web Browser UI Events in Javascript

Web Device Display Dimensions- with Meta Viewport

CSS Media Queries - Alternative

Context Links

Other pages about fiddling with computers

Website "home"



To maximize correctness across the widest possible variety of hardware and software, this display presents the values as they were at the time of initial page load. After any change (for example rotating the device), the old values will continue to be presented. To see new values, manually reload this page.