|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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? |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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.. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Different resolutions for webpages? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|