Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Resize problem

  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Resize problem

    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.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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). However the fluid design only expands the containers, not the text and images themselves.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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?
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #5
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    actualy i think that if i resize will look a litle cooler 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.

  • #6
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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!
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •