jeremy 2004/01/19 05:04:58
Modified: src/blocks/woody/samples/resources woody-page-styling.xsl
Log:
improved vertical text alignment of label and field in @layout='columns' group
Revision Changes Path
1.12 +2 -2
cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl
Index: woody-page-styling.xsl
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-page-styling.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- woody-page-styling.xsl 19 Jan 2004 12:20:59 -0000 1.11
+++ woody-page-styling.xsl 19 Jan 2004 13:04:58 -0000 1.12
@@ -208,8 +208,8 @@
Default columns layout : label left and input right
-->
<xsl:template match="wi:*" mode="group-columns-content">
- <tr>
- <td valign="top"><label for="[EMAIL PROTECTED]"
title="{wi:hint}"><xsl:copy-of select="wi:label/node()"/></label></td>
+ <tr valign="baseline">
+ <td><label for="[EMAIL PROTECTED]" title="{wi:hint}"><xsl:copy-of
select="wi:label/node()"/></label></td>
<td><xsl:apply-templates select="."/></td>
</tr>
</xsl:template>