net中怎么去除listbox边框?谁知道麻烦说一下
<asp:ListBox ID="ListBox1" runat="server" style="height:286px; width:304px; border:0px"></asp:ListBox>这样去除不了
<asp:ListBox ID="ListBox1" runat="server" style="height:286px; width:304px; border:0px"></asp:ListBox>这样去除不了
{
border-style:none;
}
下边应用就行了 <asp:ListBox ID="ListBox1" runat="server" Height="105px" Width="149px" CssClass="list">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
</asp:ListBox>
测试ok
sorry我只看了设计,没有看运行
更正:
css修改不了