[thelist] Image Size Included in Image Tag

Anthony Baratta Anthony at Baratta.com
Thu Dec 11 12:43:20 CST 2003


At 08:53 AM 12/11/2003, Brian W. Reaves wrote:
>If I create an image to the size I want it, are there any reasons why I 
>have to include the "height & width" of the image in the "img" tag?
>
>EX:
><img src="images/image1.jpg" alt="Image" title="Image" />
>vs.
><img src="images/image1.jpg" height="150" width="150" alt="Image" 
>title="Image" />

Most browsers will "pre-assign" the space during rendering if you have 
added the dimensions to the image.
-- 
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."



More information about the thelist mailing list