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