I am facing an issue with a large textual menu where the active link space is overlapping onto the other menu items. This is causing difficulty in accurately clicking on a link.
For reference, you can check out this example: http://jsfiddle.net/dhyz48j3/1/
Below is the source code:
<div id="menu">
<span>
<a href="#" id="still-life">Still Life</a><span class="divider">/</span><br/>
<a href="#" id="interiors">Interiors</a><span class="divider">/</span><br/>
<a href="#" id="books">Books</a><span class="divider">/</span><br/>
<a href="#" id="personal">Personal</a>
</span>
</div>
The CSS related to this issue is as follows:
#menu span, #menu span a {
font-family: sans-serif;
font-size: 6.1vw;
line-height: 4.7vw;
letter-spacing: -0.0425em;
text-decoration: none;
color: #ccc;
display: inline-block;
}
#menu span a:hover {
color: #aaa;
}
The links on the fiddle are not working accurately due to their larger size. I need assistance in resolving this problem. How can I fix this?