changeset 7:13afc48b0e87

cleaner columns, vert. spacing
author ht
date Thu, 17 Apr 2008 22:19:02 +0000
parents 929b4153a4aa
children 1a67da87d11f
files summa/bilingual/bi.xsl
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/summa/bilingual/bi.xsl	Sat Feb 09 13:48:46 2008 +0000
+++ b/summa/bilingual/bi.xsl	Thu Apr 17 22:19:02 2008 +0000
@@ -8,6 +8,9 @@
      <xsl:text>Bilingual Aquinas</xsl:text>
      <xsl:value-of select="div2/div3/h3"/>
     </title>
+    <style>
+     h2, h3, h4 {margin-bottom: 0px}
+    </style>
    </head>
    <body>
     <xsl:apply-templates/>
@@ -16,14 +19,14 @@
  </xsl:template>
  
  <xsl:template match="div2|div3|div4">
-  <div>
+  <div style="clear: left">
    <xsl:apply-templates select="node()|@*"/>
   </div>
  </xsl:template>
  
- <xsl:template match="div[@class='bilingual']"><div style="clear: both; margin-top: 1em">
-  <div style="width: 48%; float: right"><xsl:apply-templates select="*[2]"/></div>
-  <div style="width: 95%"><xsl:apply-templates select="*[1]"/></div></div>
+ <xsl:template match="div[@class='bilingual']"><div style="clear: both">
+  <div style="width: 48%; float: left"><xsl:apply-templates select="*[1]"/></div>
+  <div style="width: 48%; float: left; margin-left: 2em"><xsl:apply-templates select="*[2]"/></div></div>
  </xsl:template>
  
  <xsl:template match="*">