title: Use inline style in ASP.NET code file
body: <p>Good Day.</p>
  
  <p>I want to send an email from my code file in ASP.NET.
  I want to apply styling to my html...How do I do it?</p>
  
  <p>Here is the html part:</p>
  
  <pre><code>var Message = string.Format("&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=""this does not work!!""&gt;{0}&lt;br/&gt;{1}&lt;br /&gt;{2}&lt;br /&gt;{3}&lt;br /&gt;{4}&lt;br /&gt;{5}&lt;/body&gt;&lt;/html&gt;", emaildetail.Name, emaildetail.Surname, emaildetail.CardProvider, emaildetail.CardType, emaildetail.CardNo, emaildetail.SuspendGuid); 
  
  SendEmail("my email address", "Suspended Message", Message, true, null, true, 587);
  </code></pre>
  
  <p>I tried using double quotes, but it does not work.</p>
  
  <p>How can I do this?</p>
  
  <p>Thank you</p>