Hi, I've got the usual problem that people seem to have with HTML/CSS nav bar's where it's displaying and working fine in IE but not in Firefox.
The website address is
The nav bar on the left just doesn't display properly in Firefox.
The CSS code is
Does anyone have any ideas where I'm going wrong in that?!
The website address is
The nav bar on the left just doesn't display properly in Firefox.
The CSS code is
Code:
@charset "utf-8"; /* CSS Document */ /* CSS Popout menuv */ /* Fix IE. Hide from IE Mac \*/ * html #menuv ul li{float:left;height:1%;} * html #menuv ul li a{height:1%;} /* End */ #menuv /* position, size, and font of menu */ { top:19em; left:6em; z-index: 10; width: 8em; /* [1] width of menu item (i.e., box) */ text-align: right; height : 1.6em; font:Arial; font-size:1em; font-weight:normal; font-style:normal; } #menuv a { width: 100%; display:block; padding-top: 0.2em; /* expands menu box vertically*/ padding-bottom: 0.2em; border-bottom:2px solid #999; /* adds bottom border */ white-space:nowrap; height : 1.6em; padding-right:9px; font-size:1em; } #menuv a, #menuv a:visited /* all menus at rest */ { color: #000; background-color: #ffd558; text-decoration:none; height : 1.6em; font-size:1em; /* removes underlines from links */ } #menuv a.parent, #menuv a.parent:hover /* attaches parent-arrow on all parents */ { background-color: #ffd558; background-position: right center; background-repeat: no-repeat; height : 1.6em; font-size:1em; } #menuv a:hover /* all menus on mouse-over */ { color: #000; background-color: #ffd558; height : 1.6em; text-decoration:underline; font-size:1em; } #menuv li { list-style-type:none; height : 1.6em; font-size:1em; /* removes bullets */ } #menuv ul li { position:relative; height : 1.6em; font-size:1em; } #menuv li ul { position: absolute; top: 0; left: 160px; /* distance from left menu (this should be the same as width value in #menuv [1]) above */ display: none; height : 1.6em; font-size:1em; } div#menuv ul, #menuv ul ul, div#menuv ul ul ul { margin:0; /* keeps the menu parts together */ padding:0; width: 150px; height : 1.6em; font-size:1em; /* width of sub menus (this should be the same as width value in #menuv [1]) above */ } div#menuv ul ul, div#menuv ul ul ul, div#menuv ul li:hover ul ul, div#menuv ul li:hover ul ul ul { display: none; height : 1.6em; font-size:1em; } div#menuv ul li:hover ul, div#menuv ul ul li:hover ul, div#menuv ul ul ul li:hover ul { display: block; height : 1.6em; font-size:1em; }
Comment