Drop down menu IE7 – style.css
-
Hi I’m a newbie to web development and this is my first experience with wordpress and really struggling to getting my drop down menus to appear correctly in IE6 &; IE7..In IE7 the drop down menu doesn’t appear correctly and I can’t work out why, works fine in safari!Im stumped! I think I need additional statements but I’ve never done this before and haven’t got a clue where to start.
Any help would be much appreciated
Here’s part of the CSS file I’m working with…/* Container
############################################################################################################## */
.container { padding: 0px; float: left; width: 655px;}
.container2 { padding: 0px; margin-left: auto; margin-right:auto; width: 980px;}#menucontainer { width: 100%; height: 133px; background:#0DAEE0; position: relative;}
.linebreakclass { width: 100%; display: block; margin-bottom: 28px; color: #fff;}
.linebreakclass p { color: #fff;}#logocontainer {position: relative; width: 980px; margin-left: auto; margin-right: auto;}
#sceptrelogo {float: left; margin-left: 8px;}
.menu {float: left; height:133px; margin-left:auto; margin-right: auto; width: 980px; border: none; padding: 10px 0px 0px 0px;}
/**/ * html .menu { height: 1%;} /* */
.menu ul { float:right;}
.menu li { position: relative; display: inline; float: left; text-transform: lowercase; }
#home {text-transform: none;}
.menu li ul li { font-weight: normal; letter-spacing: normal;}
.menu li a, .menu li a:visited { color:#fff; float: left; padding: 4px 6px 6px 6px; margin-right: 5px;}
.menu li a:hover { background: #fff; color:#4E9CCE; text-decoration: none; -moz-border-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright:5px; -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius:5px;}
.menu .current_page_item a, .menu .current_page_item a:visited, .menu .current_page_item a:hover { background: #fff; color:#35383d; -moz-border-radius-topleft: 5px; -moz-border-radius-topright:5px; -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius:5px;}.menu .current_page_item .page_item a, .menu .current_page_item .page_item a:visited { background: #def1f9; color:#272d36;}
.menu .current_page_item .page_item a:hover { background: #fff; color:#0099cc; }
.menu .social {opacity:0.4;filter:alpha(opacity=40);}
.menu .social:hover {opacity:1;filter:alpha(opacity=100);}/* Menu Functionality */
.menu ul ul {display: none; position: absolute; z-index: 11; top:28px; opacity:0.95; filter:alpha(opacity=95); -moz-border-radius-bottomleft: 15px; -moz-border-radius-bottomright: 15px; -webkit-border-bottom-left-radius: 15px; -webkit-border-bottom-right-radius: 15px; }
.menu ul ul ul {position: absolute; top: -45px; left: 100%;}
.menu ul li:hover ul {background: #fff; padding-top: 5px; _margin-left: -150px;}.menu ul li:hover ul li a {color: #000;}
.menu ul ul, .menu ul li:hover ul ul {display: none;}
.menu ul li:hover ul, .menu ul ul li:hover ul {display: block;}/* Menu Styling */
.menu ul ul li { border-bottom: #EDFAFD 1px solid; padding: 0px 5px 0px 5px;}
.menu ul ul li a {line-height: 1em;}
.menu ul ul li:hover a {background: #EDFAFD;}
.menu ul ul ul li:hover a {background: #fff;}
The topic ‘Drop down menu IE7 – style.css’ is closed to new replies.