author | Lars Hjemli <hjemli@gmail.com> | 2007-05-11 22:29:37 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-11 22:29:37 (UTC) |
commit | f5af0beb6ab569d64950ca55a52a07923917ce81 (patch) (unidiff) | |
tree | 5116ef68974fd94315e5b186c6e9eecb6b572f6e | |
parent | 9f48df63f6d8d9a8abcc02cd2f08293da7081520 (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.css | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 | |||
7 | body, table { | ||
5 | padding: 0em; | 8 | padding: 0em; |
6 | margin: 0em; | 9 | margin: 0em; |
7 | } | 10 | } |
8 | 11 | ||
12 | table { | ||
13 | border-collapse: collapse; | ||
14 | } | ||
9 | 15 | ||
10 | h2 { | 16 | h2 { |
11 | font-size: 120%; | 17 | font-size: 120%; |
@@ -64,8 +70,7 @@ img { | |||
64 | 70 | ||
65 | table#layout { | 71 | table#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 | ||