X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=css%2Fmenuv3.css;h=5e5a93f5b6a2a0e9210a84a1bde39eedfa246539;hb=82c41aacb54996848276f5cb00c6587bf20f03a7;hp=f04de5a95b6c438c0965dbe424534347a2a90762;hpb=b7bd3cd749220ec51e1c715546bdea3e77d7deea;p=kivitendo-erp.git
diff --git a/css/menuv3.css b/css/menuv3.css
index f04de5a95..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;
@@ -30,7 +30,6 @@ padding:0 5px;
#menu a, #menu a:visited, #menu div.x, #menu div.x:visited {
color:#000;
text-decoration:none;
-/*border-width:1px;*/
padding-right:10px;
}
@@ -66,18 +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 leyer below */
background:#000;
}