title: ASP.NET MVC3 Razor - Html.ActionLink style
body: <p>I'm trying to set the style of an action link like so:</p>
  
  <pre><code>  &lt;text&gt;&lt;p&gt;Signed in as @Html.ActionLink(Context.User.Identity.Name,"Index",new { Controller="Account", @style="text-transform:capitalize;" })&lt;/p&gt;
  </code></pre>
  
  <p>I'd expect this to be rendered as</p>
  
  <pre><code>&lt;p&gt;Signed in as &lt;a href="Index" style="text-transform:capitalize;"&gt;MyName&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>However, what's generated is</p>
  
  <pre><code>&lt;p&gt;Signed in as &lt;a href="/Account?style=text-transform%3Acapitalize%3B"&gt;MyName&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>with the style appended to the url instead. What am I doing wrong?</p>