JavaScript handling

This document is being rendered in (MS) 'standards compliant mode'. The results of these tests may be different if the document is not being rendered in (MS) 'standards compliant mode'. Click here to check.


Document background colour

Click here to try changing background colour using document.bgColor
Click here to try changing background colour using document.body.style.backgroundColor
Click here to try changing background colour using document.documentElement.style.backgroundColor
Click here to reset


Screen and browser size and scrolling measurements

Click here to run the browser window size test

Click here to run the document scrolling test