Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Including graphics in HTML > 23.9 Scaling images for HTML > 23.9.5 Specifying px units for graphics sized in pixels


23.9.5 Specifying px units for graphics sized in pixels

By default, for all HTML and XML outputs except JavaHelp, Mif2Go adds a px suffix to width and height attribute values for images sized in pixels. For example:

<img border="0" src="topview.gif" width="312px" height="203px">

However, a px suffix causes the JavaHelp viewer to show an image as a thumbnail; so for JavaHelp, the default is to omit the suffix. You can direct Mif2Go to omit the px suffix for other output types.

To omit the px suffix from image width and height attribute values:

[Graphics]

; UsePxSuffix = Yes (default except for JavaHelp, include "px" in the

; width and height attributes), or No (JavaHelp default)

UsePxSuffix = No

For DITA XML output, it is usually best to include the px suffix; however, see §15.7.7 Understanding why images might look incorrectly scaled.



23 Including graphics in HTML > 23.9 Scaling images for HTML > 23.9.5 Specifying px units for graphics sized in pixels