I am currently working on a menu and panel setup (you can view the demo here: http://jsfiddle.net/vals/j2LrQ/1/). The visibility of the panel depends on the selected item from the menu. However, I am facing an issue where the panel disappears when I move my mouse over it, making it impossible to select a value. I would like to find a way to make the background color of the menu cover the entire screen as well.
body {
font: 10px normal Verdana, Arial, Helvetica, sans-serif;
margin: 10px auto;
padding: 0;
}
.container {
float:left;
width:100%;
background:#113388;
margin: 0 auto;
}
ul#topnav {
margin: 0; padding: 0;
float: left;
list-style: none;
font-size: 1.2em;
background: #113388;
position:relative;
left:30%;
text-align:center;
}
ul#topnav li {
float: left;
margin: 0; padding: 0;
border-right: 1px solid #555;
right:30%;
}
ul#topnav li a {
padding: 10px 15px;
display: block;
color: #f0f0f0;
text-decoration: none;
text-align:center;
}
ul#topnav li span {
padding: 15px 0;
position: absolute;
left: 0; top:60px;
display: none;
text-align:Center;
width: 100%;
background: #558ED5;
color: #fff;
-moz-border-radius: 0 0 5px 5px;
-webkit-border-radius: 0 0 5px 5px;
}
ul#topnav li:hover span { display: block; }
ul#topnav li span a { display: inline; }
ul#topnav li span a:hover {text-decoration: underline;}