首页 新闻 赞助 找找看

网页放大缩小时,Dropdownlist显示不正常

0
悬赏园豆:10 [已关闭问题] 关闭于 2012-11-07 17:42

网页放大缩小时,Dropdownlist显示不正常,但是刷新一下又正常了,这是怎么回事呢,求教

问题补充:

求求各位大侠了

阿磊ing的主页 阿磊ing | 初学一级 | 园豆:2
提问于:2012-10-11 18:00
< >
分享
所有回答(3)
0

你如果不想变化DropdownList控件的大小的话可以直接给它写CSS控制一下,这样当你网页变化的时候就不会变了!!

Kencery | 园豆:357 (菜鸟二级) | 2012-10-11 18:42
0

DropdownList是不是上设置的固定大小?

jason2013 | 园豆:1998 (小虾三级) | 2012-10-11 21:15
0

应该是你的css的问题,你是如何设置你的dropdownlist的?

chenping2008 | 园豆:9836 (大侠五级) | 2012-10-11 22:07
              <div class="content-tool" style="width:100%;">
                   <ul>
                     <li style=" text-align:left; width:20%;"> 
                        <span  style=" color:Red;">*</span><span>Library:</span><asp:DropDownList ID="dropLibrary" runat="server" Width="200px"> </asp:DropDownList>
                     </li>
                     <li style=" text-align:left; width:15%; "> 
                        <span  style=" color:Red;">*</span><span>Period:</span><asp:DropDownList ID="dropPeriod" runat="server" ></asp:DropDownList>
                     </li>
                     <li style=" text-align:left;width:15%; "> 
                        <span  style=" color:Red;">*</span><span>Region</span><asp:DropDownList ID="dropRegion" runat="server" ></asp:DropDownList>
                     </li>
                     <li style=" text-align:center;width:6%;"> 
                     <asp:ImageButton ID="btnSearch" runat="server" ImageUrl="../images/create.png" 
                             OnClientClick="if(!CheckRequried()) return false;" OnClick="btnSearch_Click" />
                         &nbsp;</li>
                       <li style=" text-align:left;  width:20%;"> 
                        <span  style=" color:Red;">&nbsp;*</span><span>Required field</span>
                        <asp:DropDownList ID="dropDairyAccount" runat="server" Width="200px" Visible=false> </asp:DropDownList>
                     </li>
                   </ul>
                   <div style=" clear:both;">
                   </div>
             </div>

我是这样设置的

支持(0) 反对(0) 阿磊ing | 园豆:2 (初学一级) | 2012-10-12 09:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册