Reputation: 155
Please how can i make use of the html.actionlink() without having the String LinkText Underlined.
Below is the HTML
<div class="w3-bar-item w3-button w3-hover-opacity">
<i class="fa fa-home w3-xlarge">
@Html.ActionLink("Home", "Index", "Home", new { area = "" }, new { onclick="showSpinner()"})
</i>
</div>
Upvotes: 0
Views: 368
Reputation: 582
By using style overloaded version of Html.ActionLink
@Html.ActionLink("Link text", "Action name", "Controller name", new { area = "" }, new { Style = "text-decoration:none;"})
Upvotes: 1