cmlenz 2003/01/18 07:21:55
Modified: documentation/docs/skins/jakarta.apache.org/stylesheets
document2html.xsl
Added: documentation/docs/skins/jakarta.apache.org/css print.css
Log:
Improve printability by hiding the sidebar for media="print"
Revision Changes Path
1.1
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/css/print.css
Index: print.css
===================================================================
#sidebar {
display: none;
}
1.21 +8 -8
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file:
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- document2html.xsl 18 Jan 2003 15:06:38 -0000 1.20
+++ document2html.xsl 18 Jan 2003 15:21:55 -0000 1.21
@@ -69,6 +69,12 @@
<xsl:text>css/apache.css</xsl:text>
</xsl:attribute>
</link>
+ <link rel="stylesheet" type="text/css" media="print">
+ <xsl:attribute name="href">
+ <xsl:value-of select="$basedir"/>
+ <xsl:text>css/print.css</xsl:text>
+ </xsl:attribute>
+ </link>
<!-- Add the authors as a meta tag -->
<meta name="author">
@@ -139,7 +145,7 @@
<td width="1%" valign="top">
</td>
- <td width="14%" valign="top" nowrap="1">
+ <td id="sidebar" width="14%" valign="top" nowrap="1">
<font size="-2">
Last update: <xsl:value-of select="$last.updated.date"/>
</font>
@@ -163,16 +169,10 @@
<xsl:value-of select="$project.other.version"/>
</a>
</font>
-
- <!-- ======================================================== -->
- <!-- Menu -->
- <!-- ======================================================== -->
-
<br/>
<font face="arial,helvetica,sanserif">
<xsl:call-template name="apply-navigation"/>
</font>
-
</td>
<!-- ========================================================== -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>