Author: funkman Date: Tue Dec 4 17:28:31 2007 New Revision: 601182 URL: http://svn.apache.org/viewvc?rev=601182&view=rev Log: http://code.google.com/p/google-highly-open-participation-asf/issues/detail?id=23
printer friendly support patch by Vitezslav Smid Added: tomcat/site/trunk/docs/stylesheets/tomcat-printer.css (with props) Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Added: tomcat/site/trunk/docs/stylesheets/tomcat-printer.css URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/stylesheets/tomcat-printer.css?rev=601182&view=auto ============================================================================== --- tomcat/site/trunk/docs/stylesheets/tomcat-printer.css (added) +++ tomcat/site/trunk/docs/stylesheets/tomcat-printer.css Tue Dec 4 17:28:31 2007 @@ -0,0 +1,3 @@ +.noPrint {display: none;} +td#mainBody {width: 100%;} + Propchange: tomcat/site/trunk/docs/stylesheets/tomcat-printer.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: tomcat/site/trunk/docs/stylesheets/tomcat-printer.css ------------------------------------------------------------------------------ svn:executable = * Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=601182&r1=601181&r2=601182&view=diff ============================================================================== --- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original) +++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Tue Dec 4 17:28:31 2007 @@ -56,6 +56,7 @@ <!-- YS 20051102: Add a stylesheet --> <link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet" /> + <link type="text/css" href="stylesheets/tomcat-printer.css" rel="stylesheet" media="print" /> </head> <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}" @@ -87,7 +88,7 @@ </table> <!-- Search box: uses CSS positioning --> - <div class="searchbox"> + <div class="searchbox noPrint"> <form action="http://www.google.com/search" method="get"> <input value="tomcat.apache.org" name="sitesearch" type="hidden" /> <input value="Search the Site" size="25" name="q" id="query" type="text" /> @@ -106,14 +107,13 @@ </tr> <tr> - <xsl:comment>LEFT SIDE NAVIGATION</xsl:comment> - <td width="20%" valign="top" nowrap="true"> + <td width="20%" valign="top" nowrap="true" class="noPrint"> <xsl:apply-templates select="$project/body/menu"/> </td> <xsl:comment>RIGHT SIDE MAIN BODY</xsl:comment> - <td width="80%" valign="top" align="left"> + <td width="80%" valign="top" align="left" id="mainBody"> <xsl:apply-templates select="body/section"/> </td> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]