purpose of life is joy


How to : bold an item in a dropdown using CSS in HTML?

I was trying to find a solution to bold an item in drop-down. I tried using markup from the code itself. but nothing working. finally, after come across with the some webpages, i found this solution. but this will work only with the Firefox not IE :(

<head title="Dropdown">
    <style type="text/css">
            font-weight: bold;
    <select name="Product" id="select4">
        <option value="-1">-Select-</option>
        <option value="0">Option 1</option>
        <option value="1">Option 2</option>
        <option value="2">Option 3</option>
        <option value="3" class="special">Option 4</option>
        <option value="4">Option 5</option>
blog comments powered by Disqus
Protected by Copyscape Web Plagiarism Check