X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fmenuv3.css;h=5e5a93f5b6a2a0e9210a84a1bde39eedfa246539;hb=82c41aacb54996848276f5cb00c6587bf20f03a7;hp=939ffa9f1c12a0b4c6259ff3ddf77ea1a47fb15f;hpb=0d92e871ca31531d0120a8df52a11dce7253eba0;p=kivitendo-erp.git
diff --git a/css/menuv3.css b/css/menuv3.css
index 939ffa9f1..5e5a93f5b 100644
--- a/css/menuv3.css
+++ b/css/menuv3.css
@@ -3,7 +3,7 @@ behavior:url("css/csshover.htc");
}
#menu {
-width:100%;
+width:99.8%;
float:left;
background:url(../image/bg_css_menu.png) repeat bottom;
border:1px solid;
@@ -65,19 +65,29 @@ float:none;
border:0;
}
-/* IE6 spacing bug fix,
s without a bottom border get spaced to far */
+/* IE6 spacing bug fix, s without a bottom border get spaced to far
+ * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow
+ * so the only method to get this pile of crap going is to add a bottom border to the s, where the enclosing already has
+ * a bottom border, which just looks ugly
+ * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */
+#menu ul li {
+border:solid;
+border-color:#ccd5e5;
+border-width:0 0 1px 0;
+}
#menu ul ul li {
border:solid;
border-width:0 0 1px 0;
}
+/* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below
+ * causing the menu to close. Opera 9 has the same bug btw. */
#menu ul ul {
position:absolute;
z-index:500;
top:auto;
display:none;
-/* IE6 event bug fix, a z-indexed layer without some kind of background will lose its events to the layer below */
background:#000;
}