如何删除shadow-root(用户代理)

时间:2014-10-16 09:52:35

标签: html css asp.net dom

我用html写的是,

<asp:TextBox ID="txtComment" runat="server" onkeyup="loadValues(this,250)" MaxLength="250"></asp:TextBox>

但Chrome浏览器显示

    <input name="BirthdayWish1$txtComment" type="text" maxlength="250" 
id="BirthdayWish1_txtComment" onkeyup="loadValues(this,250)">

    #shadow-root(user-agent)
    <div id="inner-editor"></div>
    </input>

我想删除此#shadow-root(用户代理) 因为输入字段显示绿色段。

1 个答案:

答案 0 :(得分:0)

我发现错误来自外部css类。 我已经给出了这样的绿色图像,这就是我的问题。

input[type=text],input[type=password],textarea{color:#626262;display:inline-block;background:#FFF url(../images/forminput.gif) top left repeat-x;border-radius:2px;width:100%;border:1px solid #CCC;height:17px;margin:2px 0;padding:2px 1px;}
相关问题