Sent by david on 1 May 2007 07:07
Skip Knox wrote:
> > 1) You have no width in the html for the image (and no title is
> needed). The
>> code should be.
>>
>> <img src="innocents.jpg" alt="Innocents Abroad book cover"
> width="200px"
>> height="295px" />
> I didn't realize I had to specify a width and height. Seems to work
> with or without the same way.
I've always been told that you should specify both. I don't know if the
official standards have anything to say about it. I just prefer not
giving browsers leeway to do something wrong. I believe it also speeds
up rendering, because the browser knows exactly how much screen space to
allocate for the image before the image has completed downloading.
--
David
[EMAIL-REMOVED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/