PDA

View Full Version : Screen Resolution



d-machine
09-23-2009, 04:37 AM
What should I do if I want to have another css for people that have 800px width resolution, and smaller?

thanks

forum_amnesiac
09-23-2009, 06:09 AM
You could do a browser redirect to a page that uses the CSS file appropriate for the screen resolution.

Here is a useful link on detecting browser resolution settings:

http://www.javascriptkit.com/script/cut162.shtml

magicyte
09-24-2009, 03:17 AM
If I were you, instead of making JavaScript do the work (and some people having it disabled), I'd make a fluid layout instead of a fixed. Now, this fluid layout would have a minimum of say, 640 pixels as the width (800 if it must needs be). When the browser is resized, it re-sizes with the browser until it gets down to 640 pixels in length, at which point it begins a scrollbar at the bottom.

Of course, I have no idea what you are trying to do. Using a layout, some other sort of positioning or width thing, sorry if this post was just a waste of your time. Good luck in finding help! :)