944,099 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Mar 8th, 2006
0

Making Webpages that conform to the users resolution

Expand Post »
I am trying to making my web pages so that as different users go on my site (it will conform to their own resoluiton). Is this possible? If so what is the easiest way to accomplish this.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mreisman is offline Offline
2 posts
since Mar 2006
Mar 8th, 2006
0

Re: Making Webpages that conform to the users resolution

As a personal taste, I always use CSS to do all of my site design if I can help it. It just makes things flexible in the end. You can put all body content inside a <div> and set width to a relative or absolute size. For example, setting <div style="width:720px"> sets a fixed width that would look fine at 800x600, and leave extra space at higher resolutions (as is here on DaniWeb).

You could also set width:80% which would set a variable width based on the user's current browser window. It would occupy 80% of their browser window, for example. If the surfer were to resize their browser window, the size would resize consistantly.

I'm not exactly sure if this is what you're asking.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 8th, 2006
0

Re: Making Webpages that conform to the users resolution

I have everything inside of one table I put the width to 100% but for some reason or other I can't get it to be what I am looking for. You can view my webpage at http://www.mdrideas.com
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mreisman is offline Offline
2 posts
since Mar 2006
Mar 9th, 2006
0

Re: Making Webpages that conform to the users resolution

If the items inside your table cells are of fixed width then you need to ensure they're small enough to allow the table to shrink - I think some of your graphics are your limiting factor.
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Mar 9th, 2006
0

Re: Making Webpages that conform to the users resolution

I'm confused as to what you're trying to do. What do you want it to look like that it doesn't right now?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 10th, 2006
0

Re: Making Webpages that conform to the users resolution

>I'm confused as to what you're trying to do. What do you want it to look like that it doesn't right now?

Err, less tacky maybe. Tee he he.

No seriously. In order to get it to conform to all resolutions, you have to think about having a dynamic banner. That's what most of the big guns do.
Take www.symantec.com. It looks reasonable when viewed at different resolutions. All they do is have a banner which grows and shrinks depending on the resolution. I think DaveSW was telling me this some time ago. Design in CSS also helps.


Design your site to be viewed using the smallest resolution, and it should look ok across most resolutions.


You can detect screen resolution easily. I think there's a script at javascript.com?
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Mar 10th, 2006
0

Re: Making Webpages that conform to the users resolution

Quote originally posted by iamthwee ...
>All they do is have a banner which grows and shrinks depending on the resolution. I think DaveSW was telling me this some time ago. Design in CSS also helps.
Me? would I tell anyone something like that? Well possibly... lol

You can specify the dimensions of your images as a %, which might help you to resize that middle graphic.
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004
Mar 10th, 2006
0

Re: Making Webpages that conform to the users resolution

Use CSS to tile a background in a 100% div. So does that make DaniWeb tacky?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 11th, 2006
0

Re: Making Webpages that conform to the users resolution

>Use CSS to tile a background in a 100% div. So does that make DaniWeb tacky?

Hell yeah, but it's the colors as well. I'll forgive you because most girls like dat horrible purple-ee lilac color. Yucky. :cheesy:

On a side note did you get my PM cscgal, too busy or just ignoring me?
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
May 25th, 2006
0

Re: Making Webpages that conform to the users resolution

Quote originally posted by cscgal ...
Use CSS to tile a background in a 100% div. So does that make DaniWeb tacky?
Dani,
does this explain why some site look like a mass of one off graphic image with a shadow on the background?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
havilah is offline Offline
20 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: text in a gif
Next Thread in Site Layout and Usability Forum Timeline: Help with SWAP IMAGE





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC