开发者

Alignment issue with dropdown list

Is there anything I can do about thi开发者_StackOverflow社区s?

<%=Html.DropDownList("MySelectedReport",Model.MyList,new {style="width:220px;"}) %>

alignement issue

P.S. This only happens in IE 9,8. Firefox and Chrome are rendering the dropdown aligned.


From what I see, you probably have something like this in you css select { border: 1px solid #ccc }. If you remove border style of select element, your dropdown will be rendered correctly.


From what I belive, its an IE only trait Im afraid :(

Another lovely IE problem!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜