Re: Illustrations in electronic publications and paper editions

Subject: Re: Illustrations in electronic publications and paper editions
From: "Chuck Martin" <cm -at- writeforyou -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 2 Apr 2004 18:11:15 -0800



"Bill Swallow" <wswallow -at- nycap -dot- rr -dot- com> wrote in message
news:234521 -at- techwr-l -dot- -dot- -dot-
<snip>
> <img src="foo.jpg" width="50%" height="50%">

Be careful with this. Entering a width or a height attribute as a percentage
does *not* do what most people would expect: scale to image to a percentage
of the original. Rather, it scales to "a percentage of the available
horizontal or vertical space" according to the W3C HTML 4.01 recommendation.

I've seen information that suggests some browsers don't even recognize a
percentage value in these attributes. When I've shrunk images for HTML, I've
found the pixel values and done calculations to come up with pixel values
for these attributes in the HTML.

--
--
Chuck Martin
User Assistance & Experience Engineer
twriter "at" sonic "dot" net www.writeforyou.com

"I see in your eyes the same fear that would take the heart of me. The day
may come when the courage of Men fail, when we forsake our friends and
break all bonds of fellowship. But it is not this day! This day, we fight!"
- Aragorn

"All you have to decide is what to do with the time that is given you."
- Gandalf



^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ROBOHELP X5 - ALL NEW VERSION!!

Have you tried the latest in Help Authoring from RoboHelp?
Try ROBOHELP X5 for Free - Now with Word 2003 support, Content
Management, Multi-Author support, PDF and XML support and much more!

Download a free trial today: http://www.ehelp.com/techwr-l4

---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: RE: Why should a tech writer learn XML?
Next by Author: Re: Proofreader Salaries
Previous by Thread: Re: Illustrations in electronic publications and paper editions
Next by Thread: Re: Illustrations in electronic publications and paper editions


What this post helpful? Share it with friends and colleagues:


Sponsored Ads