www.webdeveloper.com
Results 1 to 3 of 3

Thread: Resizing image to fit different res

  1. #1
    Join Date
    Oct 2003
    Posts
    20

    Resizing image to fit different res

    Hi, im in need of some help, ive got a web site with frames, im currently trying to resize the top banner, which i made in fireworks and coverted to HTML and IMAGES, only problem is that its fine in 1024 by 768 but doesnt fit in when i select a lower resulotion ie 800 by 600, ive tried the 100 % malarki, but it doesnt seem to work.

    ANY help would be much appreciated.


    Many thanks in advance!

    ross

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    You should be able to use this code ...it sets the image size according to the resolution.

    http://www.webapplikations.com/pages...eOnResize.html
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Nov 2002
    Location
    NJ, USA
    Posts
    785
    Great tip.
    However, it allows distortion - if window is resized manually just by width or height, image stretches...
    Is a script that does not allow distortion?
    Absence of a result is a result, unless defined otherwise.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles