On 3/14/14 2:42 PM, Georg wrote:
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.
That worked nicely, Georg...Is it that making the links block forces
their "area of clickability" to take up all the space the parent affords?
Thank you,
John
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/