font-weight : bold
does not work in the HTML SELECT option in Internet Explorer, is there any other way to specify a bold attribute type when selecting HTML SELECT.
<select ng-model="fields[filter.id]" style="width:200px;"> <option value="">--- Select ---</option> <option ng-repeat="field in filter.fields" ng-disabled="!(field.selectable)" value="{{field.id}}" ng-class="{true:'test1', false:'test'}[field.selectable]" >{{field.label}}</option> </select>
matching CSS style:
<style> .test { color:black !important; font-weight:bold !important; } .test1 { margin-left:10px !important; } </style>
These css styles work in Firefox, but do not affect chrome and IE :(
source share