>>Hello Jos,
>><snip>
>>
>>the "width" property squeezes the entire image into the set width but that is not what I am after. I'm looking to cut the image at the x'th pixel. Any ideas?
>>>>I think that the squeezing is caused by the fact you didn't define a height property (with a fixed height) , what happens if you do ( I think it has to work then)?.
>
>No the height does not affect it. IMG SRC width and height properties work on the entire image. I want to cut the image off at a certain pixel width.
In fact you can cut an image with the height and width properties if it has a .jpg extension. I wasn't aware of the fact that this doesn't go up for a .bmp extension. To get the same effect you can use css and div :
<div style = "width:xpx; height:ypx;overflow:hidden" >
<img src = "zal.bmp"> </img>
</div>
Of course x is the width and y the height at which you want to cut the image off.
HTH