Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-24-2005, 01:26 PM   #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.
Harry is offline   Reply With Quote
Old 05-24-2005, 02:50 PM   #2
Lest we forget
 
ghost2003's Avatar
 
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
ghost2003 is offline   Reply With Quote
Old 05-24-2005, 03:20 PM   #3
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
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
kstatefan40 is offline   Reply With Quote
Old 05-25-2005, 01:12 AM   #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.
Harry is offline   Reply With Quote
Old 05-25-2005, 07:04 AM   #5
Staff
Premium Member
 
mairving's Avatar
 
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.
mairving is offline   Reply With Quote
Old 05-26-2005, 06:34 PM   #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
Urban Earth is offline   Reply With Quote
Old 05-27-2005, 12:27 AM   #7
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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.
Force Flow is offline   Reply With Quote
Old 05-30-2005, 08:00 PM   #8
Member (9 bit)
 
jeffr's Avatar
 
Join Date: Jan 2001
Location: Detroit, Michigan
Posts: 289
Yes! Design with tables in %'s, not fixed pixel sizes!
jeffr is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:34 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2