diff xsls/news.xsls @ 134:0991bf45cbb8

Added "white-space: nowrap" to prevent date wrapping. Additionally, moved all formatting into CSS where it should be.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 21 Oct 2011 21:16:08 +0000
parents 364a3ee4526f
children 9085f0c59dc6
line wrap: on
line diff
--- a/xsls/news.xsls
+++ b/xsls/news.xsls
@@ -53,8 +53,8 @@ X:template = "event" {
 
     X:if "(not($YEAR) and ($year = $y or position() &lt; 11)) or $YEAR=$y" {
         <tr>
-        <td align="right" width="15%">
-            <a name="{@date}" /> !{@date} X:text {&#xA0;&#xA0;}
+        <td class="date">
+            <a name="{@date}" /> !{@date}
         </td>
         <td> !! "para"; </td>
         </tr>