symbolischen Link fuer generictranslations.pl
[kivitendo-erp.git] / css / menuv3.css
index f04de5a..5e5a93f 100644 (file)
@@ -3,7 +3,7 @@ behavior:url("css/csshover.htc");
 }\r
 \r
 #menu {\r
-width:100%;\r
+width:99.8%;\r
 float:left;\r
 background:url(../image/bg_css_menu.png) repeat bottom;\r
 border:1px solid;\r
@@ -30,7 +30,6 @@ padding:0 5px;
 #menu a, #menu a:visited, #menu div.x, #menu div.x:visited {\r
 color:#000;\r
 text-decoration:none;\r
-/*border-width:1px;*/\r
 padding-right:10px;\r
 }\r
 \r
@@ -66,18 +65,29 @@ float:none;
 border:0;\r
 }\r
 \r
-/* IE6 spacing bug fix, <li>s without a bottom border get spaced to far */\r
+/* IE6 spacing bug fix, <li>s without a bottom border get spaced to far \r
+ * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow \r
+ * so the only method to get this pile of crap going is to add a bottom border to the <li>s, where the enclosing <ul> already has\r
+ * a bottom border, which just looks ugly\r
+ * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */\r
+#menu ul li {\r
+border:solid;\r
+border-color:#ccd5e5;\r
+border-width:0 0 1px 0;\r
+}\r
+\r
 #menu ul ul li {\r
 border:solid;\r
 border-width:0 0 1px 0;\r
 }\r
 \r
+/* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below \r
+ * causing the menu to close. Opera 9 has the same bug btw. */\r
 #menu ul ul {\r
 position:absolute;\r
 z-index:500;\r
 top:auto;\r
 display:none;\r
-/* IE6 event bug fix, a z-indexed layer without some kind of background will lose its events to the leyer below */\r
 background:#000;\r
 }\r
 \r