]> granicus.if.org Git - docbook-dsssl/commitdiff
...continue that last commit, being slightly more generic in the CSS to get the desir...
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Tue, 17 Feb 2009 04:54:38 +0000 (04:54 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Tue, 17 Feb 2009 04:54:38 +0000 (04:54 +0000)
xsl/epub/docbook.xsl

index 3f0715a5affd918815cdd95011570a6db50ec626..0c1c206000145e88f5ed16daf46d872773e09a07 100644 (file)
             <xsl:element name="title">Cover</xsl:element>
             <xsl:element name="style">
               <xsl:attribute name="type">text/css</xsl:attribute>
-              <!-- Select the cover image by @id in the CSS then apply a max-width to help Adobe Digital Editions -->
-              <xsl:text>#</xsl:text><xsl:value-of select="$epub.cover.image.id"/>
+              <!-- Help the cover image scale nicely in the CSS then apply a max-width to look better in Adobe Digital Editions -->
               <xsl:text> img { max-width: 100%; }</xsl:text>
             </xsl:element>
           </xsl:element>