[thelist] Image Size Included in Image Tag

mike karthauser mikek at brightstorm.co.uk
Thu Dec 11 12:10:41 CST 2003


> 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" />

Its up to you. The advantage of image sizes is that the display doesn¹t
shuffle around whilst waiting for the images to load. Its still a good idea
in navigations but other than that its up to you. If the image is under 2Kb
you can probably ignore sizes.

-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email       >> mikek at brightstorm.co.uk
Web         >> http://www.brightstorm.co.uk
Tel         >> 0117 9426653 (office)
               07939 252144 (mobile)

Snailmail   >> Unit 8, 14 King Square,
               Bristol BS2 8JJ



More information about the thelist mailing list