如何给DropDownList控件添加边框[整理]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

在控件前添加如下蓝色代码(这里添加的是灰色边框):

<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>

本文关键:如何给DropDownList控件添加边框[整理]
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top