Re: Resizing images relative to window size

Adam M. Costello (amc@cs.wustl.edu)
Wed, 3 Jul 1996 01:02:40 GMT


Date: Wed, 3 Jul 1996 01:02:40 GMT
From: amc@cs.wustl.edu (Adam M. Costello)
Message-Id: <9607030102.AA09874@siesta.cs.wustl.edu>
To: www-html@w3.org
Subject: Re: Resizing images relative to window size

James Aylett <sja20@hermes.cam.ac.uk> says:

> Also, WIDTH=50% should ideally mean half the width of the image,
> rather than the window.

I disagree.  The document author has access to the width of the image in
pixels, so s/he can do the math to figure out what half of that is.  The
author does not have access to the browser width, so using % to refer to
the browser width is much more useful.  Since % is used for this purpose
in other contexts, it's even arguably consistent.

AMC