summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-05-11 22:29:37 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-11 22:29:37 (UTC)
commitf5af0beb6ab569d64950ca55a52a07923917ce81 (patch) (unidiff)
tree5116ef68974fd94315e5b186c6e9eecb6b572f6e
parent9f48df63f6d8d9a8abcc02cd2f08293da7081520 (diff)
downloadcgit-f5af0beb6ab569d64950ca55a52a07923917ce81.zip
cgit-f5af0beb6ab569d64950ca55a52a07923917ce81.tar.gz
cgit-f5af0beb6ab569d64950ca55a52a07923917ce81.tar.bz2
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>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 49cf2d1..cded981 100644
--- a/cgit.css
+++ b/cgit.css
@@ -2,10 +2,16 @@ body {
2 font-family: arial; 2 font-family: arial;
3 font-size: 11pt; 3 font-size: 11pt;
4 background: white; 4 background: white;
5}
6
7body, table {
5 padding: 0em; 8 padding: 0em;
6 margin: 0em; 9 margin: 0em;
7} 10}
8 11
12table {
13 border-collapse: collapse;
14}
9 15
10h2 { 16h2 {
11 font-size: 120%; 17 font-size: 120%;
@@ -64,8 +70,7 @@ img {
64 70
65table#layout { 71table#layout {
66 width: 100%; 72 width: 100%;
67 border-collapse: separate; 73 border-collapse: collapse;
68 border-spacing: 0px;
69 margin: 0px; 74 margin: 0px;
70} 75}
71 76