Author: Lars Hjemli <hjemli@gmail.com>
css: fix bad rendering in Internet Explorer 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 | 9 +++++++--
diff --git a/cgit.css b/cgit.css index 49cf2d1899c0856aafc52b4a25f8286bf92ae05a..cded981386ceed3eaeb5d37fe5eee2c669062e5d 100644 --- 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 @@ } table#layout { width: 100%; - border-collapse: separate; - border-spacing: 0px; + border-collapse: collapse; margin: 0px; }