title: Html.ValidationMessageFor Text Color
body: <p>Probably a simple question, but i cant seem to find the answer. </p>
  
  <p>using MVC 2 i have a series of Html.ValidationFor controls. I want to assign a CSS class to the text and cant seem to do it.</p>
  
  <pre><code>&lt;%= Html.TextBoxFor(Model =&gt; Model.Chest, new { @class = "textBoxMeasure" })%&gt;
  &lt;%= Html.ValidationMessageFor(Model =&gt; Model.Chest) %&gt;
  </code></pre>
  
  <p>if i try the same method as textboxfor i get errors because it requires a string, when i put a string in it still wont  work!</p>
  
  <p>thanks </p>