Site min resolution
Moderator: General Moderators
Site min resolution
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
I mean, my site is made for all resolutions (autostretched) but I don`t want it to go less than 800px
- dull1554
- Forum Regular
- Posts: 680
- Joined: Sat Nov 22, 2003 11:26 am
- Location: 42:21:35.359N, 76:02:20.688W
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...
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...
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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
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
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
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
)
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