froehlich 01/12/14 04:30:45 Modified: webapp/stylesheets Tag: cocoon_20_branch simple-samples2html.xsl Log: Applied patch from Nicola Ken Barozzi [[EMAIL PROTECTED]] stylesheets changed to look good in Mozilla as in IE. Revision Changes Path No revision No revision 1.2.2.2 +22 -3 xml-cocoon2/webapp/stylesheets/simple-samples2html.xsl Index: simple-samples2html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/simple-samples2html.xsl,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -r1.2.2.1 -r1.2.2.2 --- simple-samples2html.xsl 2001/09/26 13:11:34 1.2.2.1 +++ simple-samples2html.xsl 2001/12/14 12:30:45 1.2.2.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> - +<!-- Author: Nicola Ken Barozzi "[EMAIL PROTECTED]" --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink"> <xsl:template match="/"> @@ -38,7 +38,12 @@ <xsl:variable name="current-sample" select="1 + count(../group[position() <= $group-position]/sample)"/> <xsl:choose> <xsl:when test="$current-sample <= $half-samples"> - <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" width="97%" align="center"> + <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%"> + <tbody> + <tr> + <td> + + <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" align="center" width="100%"> <tr> <td bgcolor="#0086b2" width="100%" align="left"> <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"><xsl:value-of select="@name"/></font> @@ -52,6 +57,12 @@ </td> </tr> </table> + + </td> + </tr> + </tbody> + </table> + <br/> </xsl:when> <xsl:otherwise></xsl:otherwise> @@ -64,7 +75,11 @@ <xsl:variable name="current-sample" select="1 + count(../group[position() <= $group-position]/sample)"/> <xsl:choose> <xsl:when test="not($current-sample <= $half-samples)"> - <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" width="97%" align="center"> + <table border="0" bgcolor="#000000" cellpadding="0" cellspacing="0" width="97%"> + <tbody> + <tr> + <td> + <table bgcolor="#000000" border="0" cellspacing="2" cellpadding="2" align="center" width="100%"> <tr> <td bgcolor="#0086b2" width="100%" align="left"> <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"><xsl:value-of select="@name"/></font> @@ -77,6 +92,10 @@ </table> </td> </tr> + </table> + </td> + </tr> + </tbody> </table> <br/> </xsl:when>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]