title: Delphi Webbrowser and CSS3
body: <p>My app loads some HTML into a Webbrowser (TEmbeddedWB from <a href="http://bsalsa.com" rel="noreferrer">bsalsa.com</a>), and I would like to use some CSS3 features like <code>border-radius</code>. I installed Internet Explorer 9, because it supports the <code>border-radius</code> property. Okay, so just to test if the property works in a Delphi application, I make a new project with a Memo and a TEmbeddedWB. In the <code>Memo1OnChange</code> event I make the Webbrowser load whatever text is in the memo. I then type the following text into the memo:</p>
  
  <pre><code>&lt;div style="background-color:green;  border-style: solid; border-width: 2px;
   border-radius: 10px 10px 10px 10px; width:200px; height:200px;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And the webbrowser displays the green box, but there are no border-radii! I then try to save it to a file, and load it up in IE9, and the border-radii are clearly visible.</p>
  
  <p>I have also set the Registry Key <code>FEATURE_BROWSER_EMULATION</code> to my Project1.exe, with a value of 9999, and the same for the key in the <code>Wow6432Node</code>, for the 64-bit stuff.</p>
  
  <p>I have also checked the Useragent against <a href="http://www.WhatsMyUserAgent.com" rel="noreferrer">www.WhatsMyUserAgent.com</a>, and it says I am running MSIE9.0</p>
  
  <p>Anything else I need to do?</p>
  
  <p><strong>EDIT - FIXED:</strong> - Apparently I need the following Metatag in my document:</p>
  
  <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=9" /&gt;
  </code></pre>