title: How do I edit the CSS of the Html.DisplayFor method in MVC 3?
body: <p>I am using the following code to display text from my view model in my view:</p>
  
  <pre><code>@Html.DisplayFor(m =&gt; m.Name)
  </code></pre>
  
  <p>When I look at the HTML details in IE9 (which I have to use at work) there is no class associated with the name, it just uses the Body CSS styling instead of the display-field class styling. Does anyone know what might be causing this issue or how I might edit the CSS for the text created?</p>