Forum Moderators: open

Message Too Old, No Replies

how do i make a 1024x768 site fit lower res screens?

         

mstein

5:45 am on Feb 10, 2005 (gmt 0)



i am a new web designer, and i am wondering how to make my sites fit the viewers screen no matter what resolution they are viewing at. how do i do this? my sites are designed in flash, then put in a dreamwearver table and uploaded. if i design my site to fit a screen thats 1024 x 768, how do i code it so that it also fits a viewers screen that is 800 x 600?
thanks

Reid

7:17 am on Feb 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You basically have 2 options
1. An indestructable 750 pixel wide table (which will just be skinnier at high resolutions)

2. CSS based page layout. (Have lots of fun with browser compatability issues)

mcneely

7:28 am on Feb 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



We've had this trouble too

Most of it stems from the client having their screen setting set goofy...........in order to view a site in just about any panel/monitor properly is to have the panel/monitor settings set to normal 96DPI.

We can set a web page to view at 800x600 and then set a 13inch monitor and a 17inch panel to view the same page at the settings of 96DPI (normal) and they both both view incredibly well, it works this way in reverse as well.

rocknbil

5:21 pm on Feb 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



96 DPI? Is that Macintosh?

Anyway unless you're using resolution-specific images in your Flash, the whole idea of vectored art is that it is scalable and resolution -independent. Using Javascript to detect screen width, you can simply output a table at an appropriate width and scale the flash object accordingly.

Another method is to make it user-configurable. Have a User Options area in which they can select screen resolution, text only, flash/noflash, etc. Store it in a database or something and set a persistent cookie to ID the visitor. Now you can output a lowest-common-denominator size (as in 680px wide or so) unless a cookie is found that tells you to do otherwise.

(IMO both Flash and dependence on Javascript for content present accessability and compatibility challenges to your visitors, but that's not the question on the table. The **best** method is to design problems OUT of your layout and use the width of the screen, whatever that may be, for most applications.)