Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

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 ASP Free Forums Sponsor:
  #1  
Old April 18th, 2005, 08:47 AM
docdaniel docdaniel is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 docdaniel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 45 sec
Reputation Power: 0
scaling web page to fit all viewers

Help! I've found some resources regarding fitting our web pages (www.trustedvoice.com) to suit any viewer's screen resolution, but the experiments I've tried don't work. I know about sizing tables in percent rather than pixels (http://trustedvoice.com/faq.htm looks good on my monitor), but many of my web pages don't HAVE tables. I want a viewer not to have to scroll off to the sides to read text, regardless of their browser. My pages look decent on my monitor, but not on some others. Any clever suggestions, things I might have missed?

Gratefully,

-D

Reply With Quote
  #2  
Old April 18th, 2005, 10:38 PM
ADAMWebDesign ADAMWebDesign is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 117 ADAMWebDesign User rank is Private First Class (20 - 50 Reputation Level)ADAMWebDesign User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 12 h 16 m 18 sec
Reputation Power: 4
Code:
  
<body>
<div style="width:   100%;  margin:  0;  padding:  0">
...
(your content here)
...
</div>
</body>

That's the easiest way I've found to do it.
Comments on this post
baseballdude_ agrees: Good suggestion! Keep it up

Reply With Quote
  #3  
Old April 19th, 2005, 06:19 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
If you worked with the box-model rather than tables, you could make use of max-width, min-width, max-height, and min-height.

Reply With Quote
  #4  
Old April 19th, 2005, 09:15 PM
jwswholesale jwswholesale is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Midwest
Posts: 57 jwswholesale User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 42 m 45 sec
Reputation Power: 4
I have tried...

...the 100% width also, without luck. I have tables in my header and footer and if I put 100% width they look great in my browser, but if I go to the lowest res. it looks bad. Does this have anything to do with the fact I am on my computer for both, should I go to another comp. to try it?

I have been trying to make my site more centered on the page with side margins. It's looking alittle better, but some scrolling is still needed on a couple of the pages.

Reply With Quote
  #5  
Old April 20th, 2005, 01:32 AM
ADAMWebDesign ADAMWebDesign is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 117 ADAMWebDesign User rank is Private First Class (20 - 50 Reputation Level)ADAMWebDesign User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 12 h 16 m 18 sec
Reputation Power: 4
Ahhhhhhhhhhh. I see why now. (Sorry, missed it before since it looked like a series of images to me.)

It's got nothing to do with the width="100%" (although that is correct). Your header image is absolutely huge in terms of width (927 pixels.)

When working with a page, remember that the minimum width a user's browser window will need to be to fit everything is equal to the sum totals of of any widths defined in terms of pixels (vs. percentages) on any horizontal plane.

For example, if you have two table cells of width 200 pixels each, and then on the same horizontal plane you have an image that's 300 pixels wide, then the minimum browser window size would need to be 200 + 200 + 300 = 700 pixels.

That image could easily be broken up into two smaller images. Just make the logo about a quarter of the size that it is now and then leave your two other graphics on the right. For the middle, simply leave it blank.

To see what I'm talking about, go to

http://216.89.218.233/tscst

The logo is on the left, the little girl's pic is on the right with some pics (that still need to be updated but that's a redesign in progress). After that, it's just a background pattern.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > scaling web page to fit all viewers


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 6 hosted by Hostway
Stay green...Green IT