Jump to content

help :(


runnerjp

Recommended Posts

[code][code]I think this is what you are looking for.

[code]function resize() {
   var images = document.images;
   for (i=0; i<images.length; i++) {
       images[i].style.width=images[i].width;
   }
}[/code]

Of course you would need to run in onload of the page. But, what resizing are you trying to prevent? Are you trying to prevent the resizing that IE does on it's own? If so, I don't know that you can do that - just turn off the image resizing option in  IE preferences.[/code][/code]
Link to comment
Share on other sites

I'm not sure what you mean. In the image you are setting the height and width of the image as follows:

<IMG SRC="http://www.runnerselite.com/image/training.jpg" [b]WIDTH=105 HEIGHT=97[/b] ALT="Starflower">

The way the image is displayed for me on that page looks right for those dimensions.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.