- From: Steve Cheng <elmert@ipoline.com>
- Date: Thu, 13 Nov 1997 16:09:50 -0500 (EST)
- To: www-html@w3.org
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/>
Received on Thursday, 13 November 1997 16:10:14 UTC