When an a tag contains child elements, like an i tag, it\'s still applying the underline to it on hover, and I\'m wondering how to remove the under
a
i
I faced the same problem.
But I wanted the inner element to be Right, so setting just float: right worked fine.
float: right
a { display: block; overflow: hidden; // Clearfix text-decoration: none; } a .right-none-underline-element { float: right }
For your reference.