You may wanna try writting a separate CSS for separate resolutions and load the appropriate version after detection. window.screen.height //screen height res window.screen.width //screen width res window.screen.availHeight //brwsr window actual height window.screen.availWidth // the real width. >From: "Abyss" <info at abyss.ws> >Reply-To: "[JavaScript List]" <javascript at LaTech.edu> >To: "[JavaScript List]" <javascript at LaTech.edu> >Subject: [Javascript] Screen Resolution >Date: Tue, 12 Apr 2005 17:07:50 +1000 > >Hi all, > >Does anyone know how to detect a users screen resolution with JS? > >because what i want to do is get teh screen resolution, and then if it >lower then 1024x768 i want to send them to another page. > >I have a very specific target audience for this website. > >Thanks heaps >Abyss > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/