the repository which powers this website
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 <[email protected]>
Lars Hjemli 2007-05-12
parent 9f48df6 · commit f5af0be
-rw-r--r--cgit.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 49cf2d18..cded9813 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 @@ img {
table#layout {
width: 100%;
- border-collapse: separate;
- border-spacing: 0px;
+ border-collapse: collapse;
margin: 0px;
}