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!
精彩评论