Re: PR-HTML40

Steve Cheng (elmert@ipoline.com)
Thu, 13 Nov 1997 16:09:50 -0500 (EST)


Date: Thu, 13 Nov 1997 16:09:50 -0500 (EST)
From: Steve Cheng <elmert@ipoline.com>
To: www-html@w3.org
In-Reply-To: <3.0.5.32.19971112132017.0090e390@undergrad.math.uwaterloo.ca>
Message-ID: <Pine.LNX.3.96.971113160102.314B-100000@elmert>
Subject: Re: PR-HTML40

On Wed, 12 Nov 1997, Liam Quinn wrote:

> A nice perfect-world solution, IMO, would be to give the width and height 
> in an external style sheet, which means that an image's width and height 
> need only be specified once for an entire site.  

AFAIK, in HTML 3.2, the WIDTH and HEIGHT attributes are only used for
pre-determining the size of the image so graphical browsers may layout the
page "on-the-fly". User agents are not required to scale the image if the
width/height specified are different from the actual dimensions. (HTML 4.0
appears to change this.) Thus, they serve as an optimizing function more
than affecting presentation. Perhaps they shouldn't really belong in
separate stylesheets.

-- 
Steve Cheng     elmert@ipoline.com     <http://home.ipoline.com/~elmert/>