]> granicus.if.org Git - cgit/commitdiff
css: fix bad rendering in Internet Explorer
authorLars Hjemli <hjemli@gmail.com>
Fri, 11 May 2007 22:29:37 +0000 (00:29 +0200)
committerLars Hjemli <hjemli@gmail.com>
Fri, 11 May 2007 22:29:37 +0000 (00:29 +0200)
The layout-tables used border-collapse:separate, which maked all pages look
really bad in IE. Fix it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.css

index 49cf2d1899c0856aafc52b4a25f8286bf92ae05a..cded981386ceed3eaeb5d37fe5eee2c669062e5d 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -2,10 +2,16 @@ body {
        font-family: arial;
        font-size: 11pt;
        background: white;
+}
+
+body, table {
        padding: 0em;
        margin: 0em;
 }
 
+table {
+      border-collapse: collapse;
+}
 
 h2 {
        font-size: 120%;
@@ -64,8 +70,7 @@ img {
 
 table#layout {
        width: 100%;
-       border-collapse: separate;
-       border-spacing: 0px;
+       border-collapse: collapse;
        margin: 0px;
 }