Is there a script out there that will auto ajust my web pages to what ever the screen size the user has? I create my sites on a 15" but when I look at it on a 17" not everything is in the same place.
Is there a script out there that will auto ajust my web pages to what ever the screen size the user has? I create my sites on a 15" but when I look at it on a 17" not everything is in the same place.
No. There are scripts that will detect the users screen size and/or window size. It is actually the user's window size and font size (font-size cannot be reliably detected) that affects how you page is displayed, not their screen size. When you consider this fact, that the user can change their window size and font-size as often as they like, trying to adjust to it, on the fly, is somewhat possible with javascript but - impossible without javascript. Even with javascript, it is an involved process that must be customized to each page's unique layout. You are far better off designing your page so that it can flow into the space allotted for it on the user's end. This requires no javascript and is actually easier than figuring out how to change everything depending upon the window/font size of the user, not to mention which browser that they might be using.
Look on the web for cross browser templates/examples of fluid and of liquid layouts.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Simply put, just use percentage based layouts, so it's 90% of the screen, rather than 600px wide, for example.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
And when using images, try to make the end of them flow into something that can repeat the rest of the way. For example, I make my header images 800px wide, then put a background in the body repeating across the screen, that's seamless with the end of the header image. That way, it fills the screen for anyone.
Then, with content, as djr33 said, use percentages.![]()
Thou com'st in such a questionable shape
Hamlet, Act 1, Scene 4
Bookmarks