如题
HTML中,input标签默认是有边框(border)和背景色属性的。可以在CSS中加入border:none;(或者在html中加入style:"border:none")可以去掉边框。
input标签在鼠标点击时,会有黄色的边框。如果不需要,可以加input{outline:medium;}属性去掉。
温馨提示:答案为网友推荐,仅供参考
第1个回答 2013-09-01
input type="text"是一个文本域可输入文字的地方,CSS只可以修改其样式。如不需要input type="text"直接删除即可。
第2个回答 2013-09-01
<input type="text" value="中华人民共和国" style="border:none">在CSS里面加上border:none这样就没边框了
第3个回答 2013-09-01
border-bottom-width:0px; border-left-width:0px; border-top-width:0px; border-right-width:0px 加上这个就行了
第4个回答 2013-09-01
<input name="" type="text" style="border:0;">