jvanzyl 00/10/19 22:58:46
Modified: xdocs/skin/stylesheets document2html.xsl
Log:
- left aligned source code boxes and made the outline solid instead
of having the gaps on the corners.
Revision Changes Path
1.3 +15 -9 jakarta-velocity/xdocs/skin/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/skin/stylesheets/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document2html.xsl 2000/10/05 02:34:04 1.2
+++ document2html.xsl 2000/10/20 05:58:45 1.3
@@ -279,22 +279,28 @@
</xsl:template>
<xsl:template match="source">
- <div align="center">
- <table cellspacing="4" cellpadding="0" border="0">
+ <div align="left">
+ <table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td bgcolor="#023264" width="1" height="1"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#023264" height="1"><img src="resources/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#023264" width="1" height="1"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1" colspan="3"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
<tr>
<td bgcolor="#023264" width="1"><img src="resources/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td>
+ <td bgcolor="#ffffff">
+ <table>
+ <tr>
+ <td align="left">
+ <pre>
+ <xsl:apply-templates/>
+ </pre>
+ </td>
+ </tr>
+ </table>
+ </td>
<td bgcolor="#023264" width="1"><img src="resources/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
<tr>
- <td bgcolor="#023264" width="1" height="1"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#023264" height="1"><img src="resources/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#023264" width="1" height="1"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+ <td bgcolor="#023264" height="1" colspan="3"><img src="resources/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
</tr>
</table>
</div>