文本框的CSS样式的问题 [英] problem with css style for textbox
本文介绍了文本框的CSS样式的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我已经将文本框的css风格投入到圆形状中
css:
.circle
{
宽度:100px;
身高:100px;
背景:红色;
-moz-border-radius:50px;
-webkit-border-radius:50px;
<% - border-radius:50px; - %>
行为:url(ie-css3.htc);
}
现在,我在输入文字时遇到问题边界内的文本框(仅限于圆圈)
帮助我。
解决方案
< style type =text / css>
。 txtbox
{
border-top-left-radius : 20px;
border-top-right -radius : 20px;
border-bottom-left-radius : 20px;
border-bottom-right-radius : 20px;
}
< / style >
< asp:TextBox ID =TextBox1runat =servercssclass =txtbox> ;
hi
I have wote the css style for textbox to circle shape
css:
.circle { width: 100px; height: 100px; background: red; -moz-border-radius: 50px; -webkit-border-radius: 50px; <%--border-radius: 50px;--%> behavior: url(ie-css3.htc); }
Now, i have a problem to enter text in textbox with in the boundaries(with in the circle only)
help me.
解决方案
<style type="text/css"> .txtbox { border-top-left-radius: 20px; border-top-right-radius: 20px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; } </style>
<asp:TextBox ID="TextBox1" runat="server" cssclass="txtbox">
这篇关于文本框的CSS样式的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文