Re: Illustrations in electronic publications and paper editions

Subject: Re: Illustrations in electronic publications and paper editions
From: Dick Margulis <margulis -at- fiam -dot- net>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Sat, 03 Apr 2004 05:38:09 -0500


Chuck Martin wrote:

"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.



I second that. IE 6 _only_ recognizes pixel values for this. Specify as width="140px" height="92px" for example. Always specify both dimensions if you specify one.


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

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: What would you do if *you* were the VP? (was Re: manager credibility)
Next by Author: Re: Personification
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