Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6e019a662639ac6470f50dea3a4d8157 > files > 699

docbook-style-xsl-doc-1.79.2-4.mga7.noarch.rpm

<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>nominal.image.width</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference&nbsp;Documentation"><link rel="up" href="graphics.html" title="Graphics"><link rel="prev" href="default.image.width.html" title="default.image.width"><link rel="next" href="nominal.image.depth.html" title="nominal.image.depth"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nominal.image.width</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="default.image.width.html">Prev</a>&nbsp;</td><th width="60%" align="center">Graphics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="nominal.image.depth.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="nominal.image.width"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">nominal.image.width</span></h2><p>nominal.image.width &#8212; The nominal image width</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="nominal.image.width.frag"></a><pre class="programlisting">
&lt;xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"&gt;&lt;/xsl:param&gt;
</pre></div><div class="refsection"><a name="d0e7985"></a><h2>Description</h2><p>Graphic widths expressed as a percentage are problematic. In the
following discussion, we speak of width and contentwidth, but
the same issues apply to depth and contentdepth.</p><p>A width of 50% means "half of the available space for the image."
That's fine. But note that in HTML, this is a dynamic property and
the image size will vary if the browser window is resized.</p><p>A contentwidth of 50% means "half of the actual image width".
But what does that mean if the stylesheets cannot assess the image's
actual size? Treating this as a width of 50% is one possibility, but
it produces behavior (dynamic scaling) that seems entirely out of
character with the meaning.</p><p>Instead, the stylesheets define a
<em class="parameter"><code>nominal.image.width</code></em> and convert percentages to
actual values based on that nominal size.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="default.image.width.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="graphics.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="nominal.image.depth.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">default.image.width&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;nominal.image.depth</td></tr></table></div></body></html>