- From: Charles McCathieNevile <charles@w3.org>
- Date: Mon, 21 Jan 2002 09:58:14 -0500 (EST)
- To: John Russell <ve3ll@RAC.CA>
- cc: <www-amaya@w3.org>
OK, but as I understood the question it was based on setting the width/height in HTML, not in CSS. cheers Chaals On Fri, 18 Jan 2002, John Russell wrote: Unfortunately the CSS specification must be preserved if height is set to auto. Please refer to http://www.w3.org/TR/REC-CSS1#width and as test examples of not happening for gif and jpg check out http://home.cogeco.ca/~ve3ll/am_css.htm#x15 or http://www.town.pelham.on.ca for a real world example! -- the town crest is distorted. On 18 Jan 2002, at 8:29, Charles McCathieNevile wrote: 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 Monday, 21 January 2002 09:58:42 UTC