View Full Version : Resize problem

11-01-2008, 05:44 PM
ok so i'm really sorry if the question was allready here but i'm new here and i need some quick tips. i'm also new in html and web developtment. I've made an easy website so i need to resize the website. You know if you have mozilla firefox and you press ctrl+scroll up or down you can resize all the website how do you want. ok so i want to resize the website for the width and height of the browser. how can i do that. I/ve allready said that is a simple template so no flash or something like this onlim images in some tables. The resize from mozilla works great but i dont know how to resize for the browsers rezolution. thanks in advance.

11-01-2008, 05:49 PM
Welcome to the forums!

We need a link to the page to know better what your site is, and how to best help you make this happen.

Here are a few quick thoughts though. JavaScript can provide you with the ability to resize the contents of a page, however doesn't function exactly like the zooming feature of Firefox. If you are just wanting the page to expand to fit different browser sizes, then you will have to design your layout with a fluid design (Example (http://css-tricks.com/examples/PerfectFluidWidthLayout/)). However the fluid design only expands the containers, not the text and images themselves.

11-01-2008, 06:22 PM
ok so this is the website http://ggamefreaks.freevar.com/ ....i'm working on a simple website for a club at school. ok its all tables and some images.....you can see the source and what i want to do with it is to resize to browsers rezolution.

11-01-2008, 06:44 PM
Ok, so its basically just a table with images. I don't know exactly why you want to do this, because it would only cause a lot of potential issues. This is not something that I recommend people doing, but here are some options.

1) You can make different versions of the images to fit different browser sizes. Then you have to first detect the screen resolution with JavaScript or something (scripts on Google I'm sure) and direct the user to the appropriate page.

2) You can try to have a JavaScript function resize the images, but at the expense of image quality most likely.

Honestly I don't see a problem with the way it is, and why you need to resize things?

11-01-2008, 07:04 PM
actualy i think that if i resize will look a litle cooler :D and i didn't want to resize the images but if you think it's ok like this i think it's ok to let it that way.. thanks for all and sorry if you had some problems with my english because i'm not a native english speaker and i dont think my english is so good.

11-01-2008, 07:15 PM
It would more likely cause more problems than be 'cooler'. It would probably not even work a lot of the time properly. I like your decision to leave it alone.

Your English was pretty good, don't worry not everyone here is a native speaker either. The only requirement is that you make sense so we can help!