Click to See Complete Forum and Search --> : Changing Resolutions
Jack73
07-29-2003, 08:00 AM
Hi
Does anyone know any script for adjusting your site to fit all screen resolution sizes? I have built my site in 1024x768 but it shrinks in any screen size smaller and has toolbars all over it.
Would this be easy to fix?
Thanks!
You need to build your site using fluid layout. This includes using percentage widths rather than pixel widths.
Jack73
07-29-2003, 08:30 AM
Hi
I do have my index in % rather than in pixels. Could you explain what I would need to do to make it fluid?
Many Thanks
Index:
<HTML>
<FRAMESET ROWS="16%,*" frameborder="0" scrollbar="0">
<FRAME NAME="TOP" SRC="TOP.HTM">
<FRAMESET COLS="25%,*" FRAMEBORDER="no">
<FRAME NAME="LEFT" SRC="LEFTNAV.HTM">
<FRAME NAME="RIGHT" SRC="MAIN.HTM">
</FRAMESET></FRAMESET>
</html>
PeOfEo
07-29-2003, 10:47 AM
That would be fluid because it changes for your users. If it isnt working you can do a java script browser detect and make about 3 different index pages for different resolution but that method is a huge pain in the butt. Preview your site on all resolutions you can have on your computer and see if it looks the way it should, then preview it on mozilla and opera too just at normal then find someone with a different operating system then you and ask them to preview it. (thats what I do)
Please post a link to the site so I can see exactly what is happening. This, perhaps, is an example of actually needing to use pixel widths. That happens sometimes with frames, as 16% of a 1024x768 res is going to be different from 16% of a 800x600 res...
Jack73
07-29-2003, 11:40 AM
Thank you for your replies.
This site is not live yet. I was hoping that there was a way that web builders got around this problem. I have tried opening with different resolutions and alot of the frames are way too big and you need to scroll to see the other side of the page.
Let me know if theres anything I can send you instead to help you see what Im doing....
many thanks
jack
Just .zip up the relavant pages, and upload them to the forums...
Jack73
07-29-2003, 12:08 PM
Hope this is everything you need.....
On the page that you set up your frames, try setting the top frame to 96 pixels and the left frame to 25 pixels...
Jack73
07-30-2003, 04:30 AM
Hi
I changes to pixels but had to make left 200 as you couldnt see it set at the amount you advised. I changed resolution but it still shows in v large format with scroll bars. Did it work on your own pc ok?
Thanks for your help
Jackie
No, there was still a horizontal scroll for me as well, and the problem is that your images are too large. You'll probably want to find smaller images to use in your top navigation bar.
Jack73
07-30-2003, 07:07 AM
OK. I will take your advice and see how it looks.
I also notice that in javascriptsource you can "build" several sites in diff resolution sizes and link to them depending on size of screen the user has. Is this a tried and successful method in your opinion?
ie
if (screen.width <= 640) {
document.location = "640x480.htm";
}
else if (screen.width <= 800) {
document.location = "800x600.htm";
}
Thank you......
As long as javascript is enabled (it is not for 13%). If you use that, be sure to set up a default page that they will get the users do not have javascript enabled.
Jack73
07-30-2003, 07:23 AM
OK...thanks for the advice!