Click to See Complete Forum and Search --> : MS InterDev HTML Problem
benski
Feb 8th, 2001, 05:42 AM
Why does Interdev insist on putting WIDTH and HEIGHT attributes back into IMG tags if you delete them?
Can this behaviour be changed??
sail3005
Feb 9th, 2001, 08:39 PM
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.
benski
Feb 12th, 2001, 03:58 AM
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?
sail3005
Feb 12th, 2001, 07:45 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.