git » blitiri » commit 05c7cdc

Remove <br/>s to make the default template more XHTML 1.0 Strict friendly

author Leandro Lucarella
2008-08-08 17:53:50 UTC
committer Alberto Bertogli
2008-08-08 22:53:19 UTC
parent d209a0e7a339a8072e2ca93ae6e776a8dd14c82c

Remove <br/>s to make the default template more XHTML 1.0 Strict friendly

blitiri.cgi +5 -10

diff --git a/blitiri.cgi b/blitiri.cgi
index b95d5ca..3c904b7 100755
--- a/blitiri.cgi
+++ b/blitiri.cgi
@@ -86,8 +86,7 @@ default_main_header = """
 """
 
 default_main_footer = """
-</div><p/>
-<hr/><br/>
+</div>
 <div class="footer">
   %(showyear)s: %(monthlinks)s<br/>
   years: %(yearlinks)s<br/>
@@ -179,15 +178,11 @@ div.article {
 	margin-bottom: 2em;
 }
 
-hr {
-	float: left;
-	height: 2px;
-	border: 0;
-	background-color: #99F;
-	width: 100%;
-}
-
 div.footer {
+	margin-top: 1em;
+	padding-top: 0.4em;
+	width: 100%;
+	border-top: 2px solid #99F;
 	font-size: x-small;
 }