cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r126287 - /cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl
Date Mon, 24 Jan 2005 14:54:00 GMT
Author: cziegeler
Date: Mon Jan 24 06:53:59 2005
New Revision: 126287

URL: http://svn.apache.org/viewcvs?view=rev&rev=126287
Log:
Improved layout
Modified:
   cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl

Modified: cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl?view=diff&rev=126287&p1=cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl&r1=126286&p2=cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl&r2=126287
==============================================================================
--- cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl	(original)
+++ cocoon/trunk/src/blocks/portal/samples/skins/basic/styles/borderless-window.xsl	Mon Jan
24 06:53:59 2005
@@ -31,23 +31,21 @@
   </xsl:choose>
 </xsl:variable>
 
-<table border="0" cellSpacing="0" cellpadding="0" width="100%">
-	<tr vAlign="top">
-		<td bgColor="{$bgColor}" valign="middle">
-			<font>
-				<xsl:attribute name="color">#ffffff</xsl:attribute>
-				<xsl:attribute name="face">Arial</xsl:attribute>
-				<xsl:attribute name="size">2</xsl:attribute>	
-				<xsl:choose>
-				    <xsl:when test="@title">
-					    <b><xsl:value-of select="@title"/></b>
-					</xsl:when>
-				    <xsl:otherwise>
-					    <b><xsl:value-of select="title"/></b>
-					</xsl:otherwise>
-				</xsl:choose>	
-			</font>
-	    </td>
+  <table border="0" cellSpacing="0" cellpadding="0" width="100%"><tbody>
+    <tr vAlign="top">
+      <td width="5" bgColor="{$bgColor}"/>
+      <td bgColor="{$bgColor}" valign="middle">
+        <font color="#ffffff" face="Arial" size="2"><b>
+          <xsl:choose>
+            <xsl:when test="@title">
+              <xsl:value-of select="@title"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="title"/>
+            </xsl:otherwise>
+          </xsl:choose>	
+        </b></font>
+      </td>
 		<td align="right" bgColor="{$bgColor}">
 			<xsl:if test="basket-add-link">
 				<a href="{basket-add-link}">
@@ -105,13 +103,17 @@
 	  			</a>
 			</xsl:if>
 		</td>
-	</tr>
-	<tr>
-		<td colSpan="2">
-               <xsl:apply-templates select="content"/>
-		</td>
-	</tr>
-</table>
+      <td width="5" bgColor="{$bgColor}"/>
+      <td width="1"/>
+    </tr>
+    <tr>
+      <td width="5"/>
+      <td colSpan="2">
+        <xsl:apply-templates select="content"/>
+      </td>
+      <td width="5" colSpan="2"/>
+    </tr>
+  </tbody></table>
 </xsl:template>
 
 <xsl:template match="content">

Mime
View raw message