Encountering a bit of a challenge... Is there a way to expand my <a>
elements to completely fill the <li>
containers they are placed in?
I'm aiming to enhance the accessibility of the links for easier clicking.
Check out my jsFiddle: http://jsfiddle.net/T9nkf/
<nav class="main-nav">
<ul>
<li class="menu-category"><a href="#">Link</a>
<ul>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
</ul>
</li>
<li class="menu-category"><a href="#">Link</a>
<ul>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
</ul>
</li>
<li class="menu-category"><a href="#">Link</a>
<ul>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
</ul>
</li>
<li class="menu-category"><a href="#">Link</a>
<ul>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
<li class="menu-item"><a href="#">Topic</a></li>
</ul>
</li>
</ul>
</nav>