Page 1 of 1
Site min resolution
Posted: Sun Sep 12, 2004 6:15 am
by [n00b]
guys how can I set my site`s min size to 800
I mean, my site is made for all resolutions (autostretched) but I don`t want it to go less than 800px
Posted: Sun Sep 12, 2004 9:42 am
by dull1554
well you would have to use javascript really....because what your talking about would be completely on the users pc
unless you had you index file with JS in it that would get the user's resoultion and then call another file depending upon what the resoultion is
those are my 2 cents
look into ScreenX and ScreenY - i believe those ate the 2 parameters for the screen resoultion
i could be wrong though i have been before...
Posted: Sun Sep 12, 2004 10:23 am
by feyd
you could just design it so it can't get any smaller than 750px or whatever...

Posted: Sun Sep 12, 2004 10:49 am
by dull1554
whay does it matter though, well lets ask everyone, do any of you use anything below 800X600?
i really doubt it
im sure there are still some people that do but not too many
Posted: Sun Sep 12, 2004 10:50 am
by John Cartwright
This is more of a problem geared towards the setup of your design. If it is a problem, maybe rethink your design.
Posted: Sun Sep 12, 2004 12:35 pm
by [n00b]
actually, you didn`t understand my question and that because of my mistake

(my English is not good)
when a user resizes the browser window, the site becomes a mess when it goes below some specific width. The images from which the table corners and sides are built are messed to. So, I want to set a minimmum width for that table so it does not resize below a width.
feyd: This is what I want to do but I don`t know how
Posted: Sun Sep 12, 2004 12:42 pm
by feyd
build a 1 pixel high image, 750 pixels wide. The page will not allow the contents to go more narrow than that.
Posted: Sun Sep 12, 2004 3:44 pm
by timvw
besides the 1pixel trick, you could also consider using CSS 2 which has attributes min-width etc
Posted: Mon Sep 13, 2004 9:39 am
by [n00b]
timvw wrote:besides the 1pixel trick, you could also consider using CSS 2 which has attributes min-width etc
is css2 supported by older browser versions like IE4/5 or opera 5/6?
Posted: Mon Sep 13, 2004 9:46 am
by timvw
that's something you should lookup. and if you're doing that, also lookup how usefull pixels are in a character based browsers like lynx and links
Posted: Mon Sep 13, 2004 10:20 am
by malcolmboston
well i have my screen res @ 1024
personally i design 99% of my sites at this resolution and atm the major project i am doing uses the full 1000px width, this is because i need so much screen estate.
its bad i know, but sometimes it has to be done
Posted: Mon Sep 13, 2004 11:24 am
by romeo
i design every site a 765, center or left justified and have repeating backgrounds inside the table set at 100%
Posted: Mon Sep 13, 2004 1:01 pm
by Draco_03
As a rule, ANY site that you want to be viewd by most people should be 752 (work pc mac IE NS etc etc)
If you want
no scrollbar (for main page let's say) 752x450
Now if you do a site that aim specifically designer , young people and such..
resolution can go up to 1024. (or more for a experimental site)
But whatever you do, your code should allow you to re-size the page without having "weird" looks to it ( meaning, if the person put the page too small, scroll bar will automatically added)
(relative positioning should be use with caution

)
Posted: Mon Sep 13, 2004 1:20 pm
by [n00b]
ok guys, thanks everyone for their replies