Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 27th, 2003, 03:47 PM
wfs's Avatar
wfs wfs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Sweden
Posts: 29 wfs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Different resolutions for webpages?

I have a website and i don't want to use only 800x600 for it because when you have a higher screen area (resolution) there will be an empty area to the right and i want to use all of it.
Is there any way to make one page fit all (or several?)

Is there someway i can see what resolution the user has (via php or likewise) or maybe use everything from frame sizes to picture sizes to be pure percentage?

How has everyone else solved it?

I only seen it work on www.amazon.co.uk yet, tried with 800x600 and 1024x768 and it works luvverly!

Any cluges/suggestions/tips?

Reply With Quote
  #2  
Old October 27th, 2003, 04:09 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,299 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 54 m 17 sec
Reputation Power: 760
Everything can be percentages, including image widths. Or, you can set a side bar to a pixel width and float it; the text should fill the remaining space.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old November 27th, 2003, 03:22 PM
Sjefke2002 Sjefke2002 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Limburg, NL
Posts: 12 Sjefke2002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 58 sec
Reputation Power: 0
redirect script

okay, this may not be the price winning manner to solve the problem but i think it's a pretty good and easy way of solving it. I used the following script on my index.htm:

<!-- begin copy here and paste in HEAD section //-->
<SCRIPT LANGUAGE="JavaScript">
function redirectPage() {
var url800x600 = "index800x600.htm"; //plaats URL hier
var url1024x768 = "index1024x768.htm"; //plaats URL hier
var url1280x1024 = "index1280x1024.htm"; //plaats URL hier
if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else if ((screen.width == 1280) && (screen.height == 1024))
window.location.href= url1280x1024;
else window.location.href= url1024x768;
}
</SCRIPT>
<!-- end copying //-->

and made for each resolution a new indexpage named index800x600.htm, index1024x768 and so on as you can see in the script above.

Also very usefull for resolutionchecking by the user, as I have done on my page.

Hope could give you an easy option,
Sjefke

Reply With Quote
  #4  
Old December 1st, 2003, 11:49 AM
asdruble asdruble is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sao Paulo - Brasil
Posts: 23 asdruble User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to asdruble
i normally use percentage tables... but doing that on a large site can be quite difficult...

but on smaller sites <a href="www.asdy.blogger.com.br" target="_blank">LIKE THIS</a> is very easy though..

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Different resolutions for webpages?


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway