title: changing style of a select HTML option
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7208786/how-to-style-the-option-of-a-html-select">how to style the option of a html “select”?</a>  </p>
  </blockquote>
  
  
  
  <p>I have an HTML  element and I want one of the options to be in italic. I don't remember where but I've seen select elements that have a combination of bold fonts and regular fonts; may be it was a custom-built control.</p>
  
  <p>Here's the HTML:</p>
  
  <pre><code>&lt;select&gt;
     &lt;option&gt;select a timezone&lt;/option&gt;
     &lt;option value="0"&gt;Casablanca&lt;/option&gt;
     &lt;option value="0"&gt;Dublin, Edinburgh, Lisbon, London&lt;/option&gt;
     &lt;option value="60"&gt;Belgrade, Bratislava, Budapest, Ljubljana, Prague&lt;/option&gt;
     &lt;option value="60" style="font-style:italic;"&gt;Brussels, Copenhagen, Madrid, Paris&lt;/option&gt;
  &lt;/select&gt;​
  </code></pre>
  
  <p>And here is the <a href="http://jsfiddle.net/E7r8w/1/" rel="nofollow noreferrer">jsfiddle.</a></p>
  
  <p>Thanks for your suggestions.</p>