Re: One last image problem

I think the behaviour here is correct. If you wanted to scale it you would
use width and height explicitly (since there is no "scale" attribute). Being
able to set only one is a common use case for making single pixel images into
lines - not nice but not unreasonable really.

cheers

Chaals

On Thu, 17 Jan 2002, John Russell wrote:

  -- found my problem with color of alt stuff. as it was nested
  inside an anchor, the anchor properties were overriding.
  so i used a new class with anchor pseudos to cope with color.

  However I now see a problem with how a jpeg file is getting
  resized.  I have a large jpeg that i set a width="150" on in
  the image tag.   The width scales ok, but the height stays
  as the original.  Other browsers maintain the ratio and scale
  the height according to the scale used for width.  Which
  method of scaling is correct?? Is this a browser error  or
  is yet another hole in the html recommendation.
  for a look at the effect  check with several browsers ;-]

  http://town.pelham.on.ca/index.htm
  John Russell, VE3LL@RAC.CA
  http://home.cogeco.ca/~ve3ll (2 L's as in London)
  http://jrussell12.tripod.com
  Be sure to check your HTML markup code by using
  http://validator.w3.org or
  http://www.htmlhelp.com/tools/validator/


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)

Received on Friday, 18 January 2002 08:29:03 UTC