New Zenner
- Join Date:
- Feb 2008
- Posts:
- 36
- Plugin Contributions:
- 0
Css Flyout Categories Menu troubles
Nice post Chris!,
Looked at your CSS and your site..tried putting the 1px bottom border on menu but not working for me. I'm posting my css to see if you can spot anything a miss..I've been looking at it so long I'm begining to wonder if the problem is with this file or elswhere.
body {
behavior: url(./csshover.htc);
/* WinIE behavior call */}
/* Overall Settings for CSS Flyout Sidebox Area */
div#nav-cat {width: 150px;
margin: 3px 0 0 0px;
background-color: #ffffff; font-weight:bold; font-size:12px;
text-align: center;
line-height: 23px;
}
/* Overall Settings for CSS Flyout Menu Area */
div#nav-cat ul {margin: 0; padding: 0; padding-top: 0; width: 150px; background-color: #ffffff;
background-repeat: no-repeat;
}
/* Sets Backgrond Colour for further submenu blocks */
div#nav-cat ul.level2, div#nav-cat ul.level3, div#nav-cat ul.level4, div#nav-cat ul.level5, div#nav-cat ul.level6 {margin: 0px; padding: 0px; width: 150px;
background-color: #ffffff;
border: none;
}
/* Sets Category Text Background Options */
div#nav-cat li {background-image: url(../images/b1.gif);
position: relative;
list-style: none;
margin: 0px;
z-index: 20;
height: 23px;
width: 150px;
border-bottom: 1px solid #D2DDF4; /* Sets each line item to have a tiny border just on the bottom, required to get this thing to work in IE6 - Applies throughout menu system */
}
/* Sets Category Text Background for categories with subcats */
div#nav-cat li.submenu {background-color: #ffffff;
}
/* Sets Currently Hovered Category and it's parent category to dark blue background */
div#nav-cat li:hover {background-image: url(../images/b1_over.gif);
}
/* Settings for Category Text */
div#nav-cat li a {display: block; padding: 0em 0em 0em 0em;
font-family: arial,Helvetica,sans-serif;
color: #666666;
text-decoration: none; width: 150px;
}
/* Settings for the display of submenu blocks */
div#nav-cat ul a {width: 150px;
}
/* Settings for position of submenu blocks */
div#nav-cat ul ul {position: absolute; top: 0; left: 152px;
display: none;
}
/* Settings for extra submenu blocks */
div#nav-cat ul.level1 li.submenu:hover ul.level2,
div#nav-cat ul.level2 li.submenu:hover ul.level3,
div#nav-cat ul.level3 li.submenu:hover ul.level4,
div#nav-cat ul.level4 li.submenu:hover ul.level5,
div#nav-cat ul.level5 li.submenu:hover ul.level6 {display:block;margin: 0 0 0 -2px;
}
By the way your site is one of the best looking zen sites i've seen. I noted though you have the same issue with the 'sorter' showing through the menu flyout in ie6. I've still not solved this though.
Cheers
Nigel
///////////////////////////////
UnderPressure
//////////////////////////////