Scale an image to the browser window

You may also like...

  • http://www.webdesign-gm.co.uk Adam Web Design

    Great blog! Very clear and easy to understand. I’ve always wondered what size the image should be in the first instance, surely with all the new 27″ monitors a 1000px wide image would look a bit pixelised?

  • Dipo


    I was wondering if you knew how to scale the pictures if you are doing it on FLASH.

    I am creating a flash based website for a friend. I have done all the links and it works great. The only thing is that the images increase as the web browser is maximised.

    I would like it to decrease as the web browser is decreased, but to increase to a certain size 900 x 651, and stay that size no matter how big the browser is increased by.

    Would you be able to help?



  • http://www.conceitodigital.com Paulo

    Very nice

  • Mark

    I was searching for a good long while trying to get my head around how to do this. to many people online were giving long explanations using code only to get around it and typing out the whole thing. This on the other hand is the best thing I came across. Not only is it easy to understand its a hell of a lot quicker than typing out streams of code.

  • blake

    I followed this to a “T”. Nothing. Did not work. What am I doing wrong? If you had more screen shots, I’d think it’d work.

  • Pingback: Webbrowser scaling | Yourtravelpass()

  • lou

    This was easy to follow until it displays a load of wording on my website, i have managed to create this image that fits to every browser in photoshop but cannot set as background in dreamweaver