]> Git trees. - libqmvoc.git/commitdiff
Use some voodoo to make the table columns with (100/number of columns)%.
authorFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 17:06:44 +0000 (17:06 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Tue, 6 Nov 2007 17:06:44 +0000 (17:06 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=733547

keduvocdocument/docs/kvtml_html_stylesheet.xsl

index 67bda4d8c11c6490e3f89ceaa94e48021fd80091..4ab10fb27f38b994695e9732f2898bafec1ca916 100644 (file)
@@ -25,7 +25,7 @@ The easiest way to use the stylesheet is to include it in the .kvtml file:
                td, table {
                        border: solid 1px black;
                        border-collapse: collapse;
-                       width: 50%;
+                       width: <xsl:value-of select="100 div count(/kvtml/identifiers/identifier)"/>%;
                }
                tr[languageheader] {
                        color: black;