title: Changing the font of the text in a table cell
body: <p>This might be a very trivial question but I just can't find a solution by myself.</p>
  
  <p>so I have a table cell as below and I want to change the text in it to courier font</p>
  
  <pre><code>    TableCell tableCell = new TableCell();
      tableCell.text = "1234"
  </code></pre>
  
  <p>I've tried this:</p>
  
  <pre><code>    tableCell.CssClass = "font: Courier";
  </code></pre>
  
  <p>I've looked into the font properties of both text and TableCell. Text does not have any properties and TableCell's font does not allow me to set its value.</p>
  
  <p><a href="https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.tablecell.text(v=vs.110).aspx" rel="nofollow">Source 1</a>: <a href="https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.tablecell(v=vs.110).aspx" rel="nofollow">Source 2</a></p>
  
  <p>Any guidance is greatly appreciated</p>