如何给DropDownList控件添加边框

来源:互联网 发布:淘宝客服要好评短语 编辑:程序博客网 时间:2024/05/09 08:17

<span style="border-right: gray 1px solid; border-top: gray 1px solid;
                border-left: gray 1px solid; border-bottom: gray 1px solid;">

<asp:DropDownList ID="ddlSearch" runat="server">
                    <asp:ListItem Value="title">标题</asp:ListItem>
                    <asp:ListItem Value="content">内容</asp:ListItem>
                    <asp:ListItem Value="author">作者</asp:ListItem>
                </asp:DropDownList>

</span> 

原创粉丝点击