I have a quick question about HTML code.I am trying to put code into a webpage I am making that recognizes the computer monitor resolution and will set the background image to that size. Does anyone know the code that I can do that with?Thank you.
6/21/2006 1:20:48 PM
you can use javascript screen.width and screen.height to get the monitor resolution. But the monitor resolution has nothing to do wwith the visible area in the browser, if that's what you're trying to optimize. All in all, probably a bad idea, unless you have a good specific reason. http://www.pageresource.com/jscript/jscreen.htmhttp://www.zimmertech.com/tutorials/javascript/21/page-resolution-detector-tutorial.php[Edited on June 21, 2006 at 3:55 PM. Reason : .]
6/21/2006 3:55:08 PM