New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact


<script language="JavaScript1.2">

Screen resolution detection and notification Script-
Dynamic Drive (
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit

var correctwidth=800
var correctheight=600
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write("This webpage is bested viewed with screen resolution "+correctwidth+"*"+correctheight+". Your current resolution is "+screen.width+"*"+screen.height+". If possible, please change the resolution!")