TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: HTML graphics From:Tracy Boyington <tracy_boyington -at- OKVOTECH -dot- ORG> Date:Mon, 6 Oct 1997 08:12:40 -0500
> >> However, we're having a problem with some graphics coming in too
> >> large.
> >Use the HEIGHT= and WIDTH= attributes of the IMG tag, specifying values in
> HEIGHT and WIDTH will tell the browser what the size of the image will
> be, so it can pre-allocate the screen space. Unless it's something
> that's been added to the newest browsers, I DON'T believe these
> attributes will tell the browser to actually paint the image that size.
Actually, in my experience that's exactly what *will* happen, at least
in the 2.x and 3.x versions of Netscape. And it's a bad thing. By using
the height/width attitributes to resize your graphic, you force the user
to download the graphic in its original size (which sounds like it's
larger than what you want to show on screen), when they could be
downloading the smaller version that you really wanted to use. And they
usually look funny when they've been sized by the browser, usually
because the proportions aren't exactly the same. You should always use
height/width attributes, but NOT to resize your graphics.
Tracy Boyington tracy_boyington -at- okvotech -dot- org
Oklahoma Department of Vocational and Technical Education
Stillwater, OK, USA http://www.okvotech.org/cimc/home.htm