Move font layout to CSS
authorJoey Schulze <joey@infodrom.org>
Sun, 7 Oct 2007 11:37:23 +0000 (11:37 +0000)
committerJoey Schulze <joey@infodrom.org>
Sun, 7 Oct 2007 11:37:23 +0000 (11:37 +0000)
src/Infodrom/zeitungen/list.wml

index b0dcc1f..7d5450a 100644 (file)
@@ -3,12 +3,12 @@
 
 <page func="Infodrom Oldenburg" title="Zeitungen">
 
 
 <page func="Infodrom Oldenburg" title="Zeitungen">
 
-<table width=100% border=1 cellspacing=0 cellpadding=0>
+<table class="font height border" width=100% cellspacing=0 cellpadding=0>
 <tr bgcolor=#<colh>>
 <tr bgcolor=#<colh>>
-<th width=5%><font face="Helvetica,Arial">Nr.</font></th>
-<th width=10%><font face="Helvetica,Arial">Changed</font></th>
-<th width=10%><font face="Helvetica,Arial">Typ</font></th>
-<th width=75%><font face="Helvetica,Arial">Name, Stadt</font></th>
+<th width=5%>Nr.</th>
+<th width=10%>Changed</th>
+<th width=10%>Typ</th>
+<th width=75%>Name, Stadt</th>
 </tr>
 
 <?
 </tr>
 
 <?
     $date = sprintf ("%d.%d.%d", $date[2], $date[1], $date[0]);
     $color = $color == "<coln>"?"<cold>":"<coln>";
 
     $date = sprintf ("%d.%d.%d", $date[2], $date[1], $date[0]);
     $color = $color == "<coln>"?"<cold>":"<coln>";
 
-    printf ("<tr bgcolor=\"#%s\"><td align=\"right\"><font size=\"-1\" face=\"Helvetica,Arial\">%d</font></td>", $color, $nr+1);
-    printf ("<td align=\"right\"><font size=\"-1\" face=\"Helvetica,Arial\">%s</font></td>", $date);
-    printf ("<td align=\"center\"><font size=\"-1\" face=\"Helvetica,Arial\">%s</font></td>", $ztype[$row['type']]);
-    printf ("<td><font size=\"-1\" face=\"Helvetica,Arial\"><a href=\"edit.php?oid=%d\">%s</a>, %s</font></td></tr>",
+    printf ("<tr bgcolor=\"#%s\"><td align=\"right\">%d</td>", $color, $nr+1);
+    printf ("<td align=\"right\">%s</td>", $date);
+    printf ("<td align=\"center\">%s</td>", $ztype[$row['type']]);
+    printf ("<td><a href=\"edit.php?oid=%d\">%s</a>, %s</td></tr>",
       $row['oid'], $row['name'], $row['city']);
   }
 ?>
       $row['oid'], $row['name'], $row['city']);
   }
 ?>
@@ -76,7 +76,7 @@
 </table>
 
 
 </table>
 
 
-<h3><font face="Helvetica,Arial">Neue Anfrage</font></h3>
+<h3>Neue Anfrage</h3>
 <listform>
 <infodromlink>
 </page>
 <listform>
 <infodromlink>
 </page>