Top 100 social media profile creation websites

This summary is not available. Please click here to view the post.

stackoverflow

1 down vote accepted
italic is not apply in chrome and opera. plz check http://www.electrictoolbox.com/style-select-optgroup-options-css/
we can give any design for options.
<option style='font-style: italic; font-weight:bold;' selected="selected" value="#">
   <span>Choose One</span></option>
   <optgroup label="Option group 1">
<option value="TestValue">    TestValue</option>
<option value="TestValue">    TestValue</option>
<option value="TestValue">    TestValue</option>
</optgroup>
</select>
css:
 select option {
        background: none repeat scroll 0 0 #E5E3E3;
        border: 1px dotted #CCCCCC;
        height: 15px;
        line-height: 15px;
        text-indent: 3px;
        text-transform: capitalize;
        z-index: -9999; 
    }
    optgroup { /* Change font style and text alignment */
    font-style:italic;
    text-align:right;
    }
share|edit|delete|flag

No comments:

Post a Comment