>I think it's a bug. indexright is a div always included in main, so we
>do not really care whether it does 100% or not.

>But main + menu must be equal to 100%, and since this change it's no
>longer the case.
>(16% + 82% != 100 %)


For some browsers (not sure if it's just MSIE now) you needed to wrap that in a 100% div or a 1rowx1col table for this to work. Anyone know if Moz 1.[56] is still affected by this? (Pretty sure Konq is/was too, tho I haven't tried
3.3 yet.)

Elfyn

That was just an error of mine, base.css.in is really ok.
The problem is in savannah.css.in and gna.css.in.

I already sent a patch to Mathieu to try to put a remedy to my previous bad fix (ehm...).
I reverted the one in cvs.

I attach it here again so everybody can see it (and flame me if they will). The problem, I believe, was that those two themes overrode the .main.margin-left style without touching the width one. So the width was inherited by the main.css and thus in per cent on the whole page. For example, we had 86% + 175px for gna, that doesn't automatically sum up to 100%.

matteo

Index: savannah.css.in
===================================================================
RCS file: /cvs/savane/savane/frontend/php/css/savannah.css.in,v
retrieving revision 1.3
diff -u -r1.3 savannah.css.in
--- savannah.css.in	22 Sep 2004 08:11:50 -0000	1.3
+++ savannah.css.in	22 Sep 2004 15:39:10 -0000
@@ -91,8 +91,10 @@
 	border-bottom: thin solid #333333; 
 	border-top: thin solid #333333;  
 	border-right: thin solid #333333;
-	margin-left: 150px;
-	padding-left: 3%;
+}
+
+.indexcenter {
+	padding-left : 10px;
 }
 
 
@@ -120,6 +122,7 @@
 	text-align: right;
 	color: #333333;
 	border-bottom: thin dotted #e0c080;
+	padding-right : 5px;
 }
 
 .topmenu {
Index: gna.css.in
===================================================================
RCS file: /cvs/savane/savane/frontend/php/css/gna.css.in,v
retrieving revision 1.16
diff -u -r1.16 gna.css.in
--- gna.css.in	22 Sep 2004 08:11:50 -0000	1.16
+++ gna.css.in	22 Sep 2004 15:39:10 -0000
@@ -100,11 +100,6 @@
   width: 100%;
 }
 
-.main {
-	margin-left: 175px;
-}
-
-
 /**********************************************************************
  *
  * Menus

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to