title: Crystal Reports - HTML in textfields - Background color
body: <p>I want to use HTML in Crystal Reports. I already found out Crystal reports renders some HTML tags nicely (at least the few tags they support). </p>
  
  <p>Html like this works:</p>
  
  <pre><code> &lt;b&gt;Bold and &lt;i&gt;italic&lt;/i&gt; and &lt;font color="#ff0000"&gt;colored&lt;/font&gt; text.&lt;/b&gt;
  </code></pre>
  
  <p>Now I want to render a background color for my text (which is a pretty common kind of rich text formatting), and I remember I have Crystal already seen renderering it, but I cannot remember the HTML to tell crystal. I believe it could be done with the style attribute, but using <code>style="background-color:#ff0000"</code> is not recognized.</p>
  
  <p>How can I tell Crystal to give me some background color? Or doesn't this work anymore since CR 2008?</p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>I want to use a HTML string displayed in a normal text control with the "text interpretation" attribute set to HTML. And my HTML simply does not work! I just need one example HTML line that make Crystal Report (2008 here) display a different background color for a word, and all my tries that work well in browsers, are not understood by Crystal. </p>
  
  <p>I know how to set bold, the foreground color, different font sizes, underlined, etc., but I just do not get the background color to work. So <strong>the answer to this question is simply a simple String of HTML</strong>. </p>