title: Right align text in an HTML.TextBoxFor
body: <p>I'm using Twitter Bootstrap, with ASP.Net MVC.</p>
  
  <p>How can I right-align the text in the TextBoxFor:</p>
  
  <pre><code>@Html.TextBoxFor(model =&gt; model.PaymentReceived, 
  new { @class = "pmtallocated pull-right" , .dir = "rtl" })
  </code></pre>
  
  <p>I get the error <code>Invalid expression term '.'</code> when trying above.</p>
  
  <p>Thank you,</p>
  
  <p>Mark</p>