In ASP.NET MVC3 This is a regular actionlink at Razor view :
<li>@Html.ActionLink("Home", "Index", "Home")</li>
and related html dom is:
<li><a href="/HomePage/">Home</a></li>
So my css work correctly if I add css class to the <a> element like the following:
<li><a class="MyCssClass" href="/HomePage/">Home</a></li>
Does any one know how can I do this?