This is an awesome post, helped me with formatting my dropdowns, which (I know you're expecting this) work in every browser EXCEPT (drumroll please) IE 8. I have comparative images, but cannot attach them. basically, The IE 8 loses the font color. the background color, and I can see spaces horizontally between the li elements in that dropdown list. I don't know if others have had this problem but if you could point me to something.
I also had to disable the JS dropdown filter because IE was reporting errors. The filter I used came from this post:
http://themeshaper.com/thematic-09-released/
Here is my CSS for the drop down, which I modified from the kaleidoscopic one posted above :-)!
/*** COLOR SKIN FOR DROPDOWN NAVIGATION ***/
/* main ul element */
.sf-menu {
/*border-right: 1px solid FUCHSIA; */
float:left;
}
/* general link styles*/
.sf-menu a {
display: block;
padding:9px 13px;
text-decoration:none;
border-top: 1px solid;
border-left: 1px solid;
border-bottom: 1px solid;
}
/*** 1st Level ***/
/* 1st level links, no hover, no visits */
.sf-menu li a {
color: yellow;
/* background-color: green; */
border-color: red;
}
/* 1st level links, while hovering over sub menu */
.sf-menu li.sfHover a{
color: black;
background-color: /*silver*/ #dedefc;
}
/* 1st level links, hover */
.sf-menu li a:hover {
color: /*white*/ #993333;
background-color: /*lime*/ #dedefc;
}
/* 1st level current page */
.sf-menu .current_page_item a,
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
border-bottom-color: white;
background-color: /*TEAL*/ #dedefc;
color: #993333;
}
/* 1st level down triangles with pure css*/
.sf-menu li .sf-sub-indicator {
text-indent:-9999px;
line-height: 0;
border-color:/*YELLOW*/ white transparent transparent;
border-style:solid;
border-width:4px; /*controls size of triangle */
display:inline-block;
margin-left:5px;
}
/*** 2nd level ***/
/* sub menu */
.sf-menu ul {
border-right:1px solid;
border-bottom:1px solid;
border-color: yellow;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
top:32px; /* overriding essential styles- adjust if you have gaps between first level and drop-down sub menu*/
}
.sf-menu ul ul {
margin-top:0; /*unlikely to need adjusting */
}
/* 2nd level links, no hover */
.sf-menu li li a, .sf-menu li.sfHover li a {
color: /*orange*/ navy;
background-color: /*blue*/ #dedefc;
border-color: green;
border-bottom: 1px dotted navy;
}
/* 2nd level links, while hovering over sub menu */
.sf-menu li li.sfHover a{
color: black;
background-color: silver;
}
/* 2nd level links, hover */
.sf-menu li li a:hover, .sf-menu li.sfHover li a:hover {
color: /*white*/ navy;
background-color: /*aqua*/ white;
}
/* 2nd level current page */
.sf-menu li li.current_page_item a,
.sf-menu li li.current_page_ancestor a,
.sf-menu li li.current_page_parent a {
background-color: /*TEAL*/ white;
}
/* 2nd level side triangles with pure CSS */
.sf-menu li li .sf-sub-indicator { /*right arrow*/
border-color: transparent transparent transparent WHITE;
}
/*** 3rd Level and beyond ***/
/* 3rd level links, no hover */
.sf-menu li li li a, .sf-menu li.sfHover li li a {
color: blue;
background-color: red;
border-color: blue;
}
/* 3rd level links, hover */
.sf-menu li li li a:hover, .sf-menu li.sfHover li li a:hover {
color: white;
background-color: pink;
}
/* 2nd level current page */
.sf-menu li li li.current_page_item a,
.sf-menu li li li.current_page_ancestor a,
.sf-menu li li li.current_page_parent a {
background-color: TEAL;
}
Not sure if anyone has had a similar problem or can help, but I would appreciate it as this site is ready for the client and I need to get it out in a few days.
Thank you!