IBM developerWorks
           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 May 18th, 2004, 09:31 AM
mcraft59 mcraft59 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Brooklyn
Posts: 157 mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 4 h 16 m 54 sec
Reputation Power: 5
Resolution Settings of Browsers

I'm designing a website for a local political organization. Its a dynamic site I'm using css/php/mysql. I'm trying to polish up the layout I designed and I currently have the layout centered and I want to add a background that is fixed. I was using a gradient background I had made in fireworks and it looked okay on the machine next to me that runs at 800x600, but on a different machine at 1280x1024 the background was too short and it began to repeat. Is there anyway I can tell the background to stretch itself if it is to small?

I had thought about using javascript to find the resolution of the persons browser and from there I could maybe just change the background image.

Open to thoughts and suggestions. Thanks.

Reply With Quote
  #2  
Old May 18th, 2004, 10:07 AM
mcraft59 mcraft59 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Brooklyn
Posts: 157 mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 4 h 16 m 54 sec
Reputation Power: 5
could an admin move this to the html programming section

Reply With Quote
  #3  
Old May 18th, 2004, 10:18 AM
1beb's Avatar
1beb 1beb is offline
This tagline is not long enoug
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Toronto, ON Canada! I AM CANADIAN
Posts: 861 1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 32 m 12 sec
Reputation Power: 9
Send a message via ICQ to 1beb Send a message via AIM to 1beb Send a message via MSN to 1beb Send a message via Yahoo to 1beb
Make the image larger and let the browser size it down, the quality and look of an image that has been made to seem smaller, is much better than the quality and look of an image that has been made to become larger.

Imagine. 800x600 = An image that is 800 pixels wide, and 600 pixels high. When you view that same image stretched @ 1280x1024 you essentially just scaled each pixel from a 1 : 1 ratio to a 1.6 : 1.7 ratio... meaning the quality of the image is considerably reduced becuase not only are the pixels not whole numbers but they are also scaled in a fashion that does not allow them to maintain their original symetry.

Hence, I would suggest making a larger image and scaling it down, becuase worst case scenario it looks blurred when scaled down. Which is better than being 'aliased' at a larger size.

Reply With Quote
  #4  
Old May 20th, 2004, 09:05 AM
mcraft59 mcraft59 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Brooklyn
Posts: 157 mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level)mcraft59 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 4 h 16 m 54 sec
Reputation Power: 5
I tried making my background larger, but the machine I was using did not resize the background to fit. Instead it display what it can and the rest is terminated.

I want the background image to frame my page essentially so when they scroll down the page the background is fixed and scrolls with it keeping a constant frame around the navigation/content area.

Reply With Quote
  #5  
Old May 20th, 2004, 10:04 AM
1beb's Avatar
1beb 1beb is offline
This tagline is not long enoug
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Toronto, ON Canada! I AM CANADIAN
Posts: 861 1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 32 m 12 sec
Reputation Power: 9
Send a message via ICQ to 1beb Send a message via AIM to 1beb Send a message via MSN to 1beb Send a message via Yahoo to 1beb
Your original assumption was correct then, you would require a scripting langauge, such as javascript to detect the user's resolution and serve them the graphic that corresponds to their rez.

Reply With Quote
  #6  
Old May 20th, 2004, 04:20 PM
deadfred_10 deadfred_10 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 deadfred_10 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by 1beb
Your original assumption was correct then, you would require a scripting langauge, such as javascript to detect the user's resolution and serve them the graphic that corresponds to their rez.


Won't work. You can detect screen res but that doen't mean the user's browser is set to that res. I my have my monitor set to 1280x1024, but surf at 800X600, while working with other open programs.

Reply With Quote
  #7  
Old May 20th, 2004, 08:17 PM
1beb's Avatar
1beb 1beb is offline
This tagline is not long enoug
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Toronto, ON Canada! I AM CANADIAN
Posts: 861 1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 32 m 12 sec
Reputation Power: 9
Send a message via ICQ to 1beb Send a message via AIM to 1beb Send a message via MSN to 1beb Send a message via Yahoo to 1beb
I still think it would work becuase the image would display as it should...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Resolution Settings of Browsers


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 4 hosted by Hostway