Hi
I am having bit of trouble getting the height when hovered over the same as the nav menu when not hovered over if that makes sense
The website is http://www.affordablechildrenswear.com/index.php
The html for the nav menu is below
<nav>
<ul>
<li><a href="">TEXT</a></li>
<li><a href="">TEXT</a></li>
<li><a href="">TEXT</a></li>
<li><a href="">TEXT</a></li>
<li><a href="">TEXT</a></li>
<li><a href="">TEXT</a></li>
</ul>
</nav>
The CSS for the nav menu is below
nav {
display: block;
width: 950px;
overflow: hidden;
}
nav ul {
margin: 80px 0 20px 0;
padding: 0;
float: left;
list-style: none;
background: #a89ee7;
/*background: #444;
background: rgba(0,0,0,.2);*/
-moz-border-radius: .5em;
-webkit-border-radius: .5em;
border-radius: .5em;
/*-moz-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;*/
width: 930px;
}
nav li {
float:left;
}
nav a {
float:left;
padding: .1em 3em; /*top/right*/
text-decoration: none;
color: #555;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
font: bold 1.1em/1 'trebuchet MS', Arial, Helvetica;
letter-spacing: 1px;
margin-top: 20px;
height: 30px;
text-transform: uppercase;
/*border-right: 0px;*/
/*border-width: 1px;*/
border-right: 0px solid #999;
/*border-color: #fff #ccc #999 #eee;*/
background: #a89ee7;
}
nav a:hover, nav a:focus {
outline: 0;
color: #fff;
text-shadow: 0 1px 0 rgba(0,0,0,.2);
background: #89d113;
/*background: -moz-linear-gradient(#fac754, #f8ac00);
background: -webkit-gradient(linear, left top, left bottom, from(#fac754), to(#f8ac00));
background: -webkit-linear-gradient(#fac754, #f8ac00);
background: -o-linear-gradient(#fac754, #f8ac00);
background: -ms-linear-gradient(#fac754, #f8ac00);
background: linear-gradient(#fac754, #f8ac00);*/
}
nav a:active {
-moz-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
}
nav li:first-child a {
border-left: 0;
-moz-border-radius: 4px 0 0 4px;
-webkit-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
nav li:last-child a {
border-right: 0;
-moz-border-radius: 0 4px 4px 0;
-webkit-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
I have tried putting in height: 30px; and line-height: 30px; to the nav a:hover but still no joy
Any ideas what else I can try or change
Kind regards
Ian