Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 How many screen resolution to consider?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bjlt
Senior Member

1144 Posts

Posted - 25 July 2001 :  13:35:16  Show Profile
I'd like to auto adjust my site to user screen resolution. 640x480, 800x600, 1024x768 maybe 1280x1024 as well.

I use javascript, but I wonder how many resolution I should consider
if i use > < what the range of them should be

TIA

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 25 July 2001 :  21:08:12  Show Profile  Send RaiderUK a Yahoo! Message
the resolutions i normally take into consideration are 640x480, 800x600, 1024x768, because according to my counter.com statistics out of 2100 hits the stats are as follows:

640x480 = 10%
800x600 = 52%
1024x768 = 28%
1280x1024 = 3%
other = 7% (mostly weird mac resolutions)

Go to Top of Page

Neophoenix
Starting Member

12 Posts

Posted - 25 July 2001 :  22:32:50  Show Profile
when i make sites i usually make the page for an 800x600 becuase not many ppl use 640x480.
after i make everything i usually put it in a table and center it that way it will always be in the middle

another thing you can do is make your site using percentages for example
<table width="35%" and if you do it that way then your site will become flexible and can expand or contract depending on the viewer's resolution

Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 25 July 2001 :  23:37:49  Show Profile
Thanks.
I'll make three version for 640x480, 800x600, and 1024x768. I found in 1280*1024 everything seems too small unless they use a really big monitor.
Well, here's my code. anybody has a list of resolution and any resolution need to be specially considered?


The reason I don't use percentage is the page will change everytime the user resize the browser window, my site does not look very well for it.


<!-- Begin
var screensize=0;
if (screen.width < 800) {
document.write('<link rel="stylesheet" type="text/css" href="/640.css">');
var screensize=640;
}
else if (screen.width >= 800 && screen.width<1024) {
document.write('<link rel="stylesheet" type="text/css" href="/800.css">');
var screensize=800;
}
if (screen.width >= 1024) {
document.write('<link rel="stylesheet" type="text/css" href="/1024.css">');
var screensize=1024;
}

// End -->


note, ns4 dosn't recognise width in "box" in css. it also makes mistake on </noscript> by closing the parent box of noscript tag.



Edited by - bjlt on 26 July 2001 00:16:58

Edited by - bjlt on 26 July 2001 00:19:53
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07