Why does Interdev insist on putting WIDTH and HEIGHT attributes back into IMG tags if you delete them?
Can this behaviour be changed??
Printable View
Why does Interdev insist on putting WIDTH and HEIGHT attributes back into IMG tags if you delete them?
Can this behaviour be changed??
Are you using the design view? Because it does not do this for me. Besides, setting the width and height attributes for an image is a good thing because it will help the browser render your page faster and better.
No, I tend not to use the design view, I just write the code direct, then preview in the target browser.
I agree about the width and height attributes helping presentation, but what if (as in this case) you want to change the image source dynamically to a different sized image?
The problem only occurs once I have released the working copy and then got a new working copy.
Any ideas?
I am not sure why it does this, but if it is ust a one time project, you could use notepad to fix it, and then re-open it in interdev.