Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Bug: Browser compatibility/img tag

The image tag size is not (always) compatible with Netscape4.

Try: insert image in article. Just original size. Then resize in normal view.

I get (IMG style="WIDTH: 84px; HEIGHT: 102px" height=332 alt=[Image] hspace=4 src="PTMFOG0000000022.gif" width=293 align=right border=0 cd:pos="3")

Original size: 293x332. Resized to 84x102. However, Netscape4 ignores the style and uses the width/height. This is the original size!

Now I open the properties in normal view (the override box is checked)  and press ok. Now the source shows:

(IMG height=102 alt=[Image] hspace=4 src="PTMFOG0000000022.gif" width=84 align=right border=0 cd:pos="3")

This does display correctly in NS4!

My guess: resize by mouse only alters the "style" parameters and not the old ns4-compatible width/height.

Note: < > replaced by () to prevent html tags as requisted

Adriaan van den Brand
Thursday, March 21, 2002

*  Recent Topics

*  Fog Creek Home