Whenever I hover over the hyperlink, it extends beyond the text of the link.
Check out the jsFiddle demonstration: jsFiddle
It seems like it is taking the width of the <div>
, causing it to be displayed across the entire <div>
.
Below is the HTML code (using foundation):
<div class="container row">
<a href="#">
<div id="logo" class="large-3 columns">
<span>My Bank ,too Big</span>
</div>
</a>
</div>
How can I fix this issue without modifying the foundation classes? Could it be related to the <span>
element?
I attempted to reduce the width of the <span>
, but the behavior remained unchanged.