如何删除下拉列表边框? [英] How To Remove Dropdownlist Border ?
本文介绍了如何删除下拉列表边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想删除下拉列表的边框.也就是说,它应该看起来像一个标签.给我一个解决方案.另请提及,我该如何还原此费用.
I want to remove the border of a dropdownlist. That is, it should look like a label. Give me one solution. Also mention, how can i revert this chage.
推荐答案
您可以使用{border:0px}之类的CSS样式...足够删除边框.
请返回以进行任何澄清.
编码愉快:)
Hi,
You can use a css style like {border:0px}...quite enough to remove the border.
revert for any clarification.
Happy coding :)
此链接可能对您有帮助
^ ]
您可以像这样删除边框
This link may help you
http://asp-net-example.blogspot.in/2009/03/how-to-set-change-dropdownlist-border_14.html</a>[^]
And you can put like this to remove border
DropDownList1.BorderStyle = BorderStyle.None;
然后像这样还原
And revert back like this
DropDownList1.BorderStyle = BorderStyle.NotSet;
这篇关于如何删除下拉列表边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文