Some small fixes for Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@2928 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2014-10-29 13:25:01 +00:00
parent b1c57804cd
commit b91eb6513f
2 changed files with 14 additions and 4 deletions

View File

@ -61,7 +61,9 @@
<!--<pre><xsl:value-of select="concat('layout = ', ./@layout)"/></pre>-->
<div>
<xsl:if test="$use-default-styles">
<!-- Nothing at the moment -->
<xsl:attribute name="style">
<xsl:value-of select="'position: relative; width: 100%'"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="$class != ''">
<xsl:attribute name="class" select="$class"/>
@ -113,8 +115,16 @@
<!--<pre>grid-workspace-row-column</pre>-->
<div>
<xsl:if test="$use-default-styles">
<xsl:choose>
<xsl:when test="current() = '100%'">
<!--<xsl:attribute name="style"
select="concat('float:left; width = ', current(), ';')"/>-->
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="style"
select="concat('float:left; width = ', current(), ';')"/>
select="concat('float:left; width: ', current(), ';')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="$class != ''">
<xsl:attribute name="class" select="$class"/>