At 07:41 PM 6/30/2005, Wayne Godfrey wrote:
But like I said, this requires me to code each image individually, using
the above or even what you've given me below, can I eliminate the "height"
and keep the image constrained?
At 06:00 PM 6/30/2005, Bert Doorn wrote:
If you don't specify a height on the image, but do specify a width (be
that in css or in the html), the height should adjust automatically (once
the browser has fetched the image and knows its dimensions).
To reiterate: If the image is foreground (= an img tag in the HTML), you
only need to stipulate one dimension -- either the height or the width --
and the browser will render the image at that size in proportion to its
original dimensions.
Try it!
Paul
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************