开发者

IE8 not applying font-weight : bold and text-decoration : underline properties

I have a dropdown select element in which few of the options need to be shown as bold and underline. I have defined some CSS below:

.OptioncBold{ font-weight:bold; text-decoration:underline;}

This is working fine in Firefox, but not in IE8. When I debug it in IE using the developer tools, it even shows the class being added on that particular option along with both the properties. However, when I see the dropdown select element, the option is neither bold nor und开发者_运维问答erlined. I've read many posts related to this, but could not find anything which helped.

Thanks for your time and help.

Anup


It is not working in ie, you can try a plugin for custom selectboxes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜