大家好我正在制作一个登录表单,我希望txtpassword文本框有
的TextMode ="密码"但是一旦我添加了这个属性,我的所有样式都消失了,我想知道如何隐藏密码(而不是像字符一样显示点),如果你们需要的话,这里应用的样式也是我的代码
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<%--this runs perfectly--%>
<br />
<asp:TextBox ID="txtpassword" TextMode="Password" runat="server"></asp:TextBox>
<%--styles aren't there as soon as i add TextMode or type attributes--%>