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
https://forums.phpfreaks.com/topic/33924-help/#findComment-159270
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
https://forums.phpfreaks.com/topic/33924-help/#findComment-159336
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.