Den 14.03.2014 22:17, skrev John:
Right now, the li a:hover state appears visually before the a: hover
state, depending on how fast you mouse over it, which could lead the
User to believe that clicking on the color area around the actual link
is enough to fire off that link...is there a way I can get the a:hover
and the li a:hover to happen at the same time? I suspect it's to do
with increasing a:hover's clickable area to co-incide with li a:hover's
Style list-items and links the other way round...
nav li {
display:inline-block;
padding: 0;
margin:0 6% 0 0;
border-radius:3px;
background-color:rgb(0,0,0);
}
nav ul li a{
display: block;
line-height:1.65em;
padding:.12em 1em .4em 1em;
}
...and it will work as you intended.
regards
Georg
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/