I'm having problems to include a css class in a Html.ActionLink. Actually, I search and found a code like this:
@Html.ActionLink("View Performances", "Details", "Productions",
new { name = item.show , year = item.year },
new {@class = "button"}
But the problem is it is not working. May be because I already include the css in and
<ul id="menuTop">
<li id="menu-link-1">@Html.ActionLink("Home", "Index", null, null, new { @class = "link-1-visited" })</li>
<li id="menu-link-2">@Html.ActionLink("Produtos", "Products", null, null, new { @class = "link-2-visited" })</li>
<li id="menu-link-3">@Html.ActionLink("Fale Conosco", "ContactUs", null, null, new { @class = "link-3-visited" })</li>
<li id="menu-link-4">@Html.ActionLink("Quem Somos", "AboutUs", null, null, new { @class = "link-4-visited" })</li>
</ul>
I want the button get the css class when it is clicked. Do you have any idea?
Thanks for any sugestions.