title: Applying Styles to ASP.Net MVC ViewData objects
body: <p>I have the following code in a MVC User Control (the field names have been changed to protect the innocent):</p>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  <p>These are to be displayed in a list beneath a header on the page that calls this control.</p>
  
  <p>Given that I blow at CSS, how do I apply tags to the header and these fields so that everything lines up properly?</p>
  
  <p>Many thanks,</p>
  
  <p>KevDog</p>
  
  <p><b>Update:</b>
  The goal is to have the fields in the user control underneath and aligned left beneath the labels in the header. My first problem is adding a class to the ViewData items above. Do they go inside of other tags or are the attributes applied inside the tag itself? I've tried the latter and it doesn't seem the correct approach. </p>