|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Mar 1999
Location: San Francisco, CA US
Posts: 922
|
How Do You Make Web Site For All Screen Resolutions
Everybody is using a different screen resolution from at least 800 pixels and up. So how do you get a web page to appear the same in all different screen resolutions. For example, I made a web page for a screen resolution of 800 by 600. But when looking at it from a computer with a screen resolution of 1024x768, it looked terrible because there was then a lot of space between the photos and the photos were a lot smaller.
|
|
|
|
|
|
#2 |
|
Lest we forget
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
|
What you could do is put your whole site in a frame that always keeps the same dimension(like 800x400). So it would always look the same but it wouldnt fill the whole window on bigger resoutions.
__________________
redqueen: Antec Sonata, Pentium-D 2.5GHz, MSI G31M3-L, 2GB ram, 320 GB HDD, OpenBSD hal9000: Lenovo T61, 2GB ram, 120 GB HDD, FreeBSD |
|
|
|
|
|
#3 |
|
Security Dude
Staff
|
Setting for one screen resolution is not good practice - as it will look bad on bigger resolutions.
I design in tables - making them a percentage of the screen size, and either make the images fit to 800x600 or I write javascript that chooses the right size image for the resolution. {table width="25%"}, for example (where { and } = < and > respectively)
__________________
Tyler A. Thompson Small Business Networking Services Specialist tyler@derbydigital.com |
|
|
|
|
|
#4 |
|
Member (10 bit)
Join Date: Mar 1999
Location: San Francisco, CA US
Posts: 922
|
Thanks
Thanks, I'll look into that javascript coding for tables. Sounds pretty good.
|
|
|
|
|
|
#5 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Eeks, I wouldn't use JS to do it. There are some major problems with it, compatibility with older browsers, incorrect screen resolution sizing, having to process on the fly and users can turn off JS.
It really just takes some practice to achieve good results at most screen resolutions. You really just have to use a combination of percentages and fixed widths to get a good look at most resolutions. Here are some pretty good tips to get you started. |
|
|
|
|
|
#6 |
|
Member (7 bit)
Join Date: Sep 2003
Location: Edmonton, Alberta, Canada
Posts: 105
|
If you try to make your site look perfect in all browsers and all resolutions you will go crazy! One of the best ideas is to make your site fluid (as per kstatefans posting). Ultimately if someone has a huge screen, most sites will look bad. Something as simple as putting a div-center around your table will then float it to the middle of a monster screen. Another thing to keep in mind is that a lot more people are using their PDA's to surf, so you need to go for really small screen sizes as well. . .
Find out what size monitor your target audience uses (majority) design for that but be as fluid as possible. AJ |
|
|
|
|
|
#7 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
|
I use tables with width percentages (and pixel values when necessary) to automatically resize the page over a wide array of resolutions.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#8 |
|
Member (9 bit)
Join Date: Jan 2001
Location: Detroit, Michigan
Posts: 289
|
Yes! Design with tables in %'s, not fixed pixel sizes!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|