Rendering images with the <object> tag
I am attempting to use the <object> tag in place of the <img> tag, but have
encountered a few restrictions. Can anyone please advise how to overcome
 The height and width attributes must be set to explicit values. How do
I configure image sizing to Auto?
 The image is always rendered with an inset border (in addition to any
border specified using CSS). How do I eliminate all borders?
Also, can anyone please confirm whether the Declare attribute can be used
to force an image to be downloaded before it is rendered. I wish to use scripting
to dynamically set images visible & invisible, but it is essential that they
are all downloaded when the HTML page loads.
Many thanks for your advice,
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center