tedd wrote: > At 4:21 AM -0500 1/4/09, David Laakso wrote: > >> The lower IEs often need both height and width of an image. Easier to >> include physical dimension in the html than not. Sometimes the >> dimensions need to be set in both the html and the css to avoid image >> distortion. >> > > David: > > Ah, the reason is to keep image distortion from happening for IE6 and under. >
I think that is just one reason. A matter of on havingLayout [1]. The lower IE's need to know the image exists. It is best to state height and width for images to help ensure they will appear at all in IE/6.0. IE/6 and down posse further issues, particularly if the file is in quirksmode -- among them -- sometimes image distortion for 5.5 an 5.0. The easiest out for foreground images in IE/6 is to simply state height and width of the image in the html. Even compliant software will appreciate your extra effort and due care. Whether you support IE/5.5 and IE/5.01 is your call. Some folks do not have that privilege. [1] <http://www.satzansatz.de/cssd/onhavinglayout.html> -- A thin red line and a salmon-color ampersand forthcoming. http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/