javascript - 当我使用 firefox 时,textarea 上的灰色边框线

标签 javascript html css border line

我的网页有问题:当我在我的 html 中使用 firefox 和文本区域时,我可以在此文本区域中看到一条 2-3px 灰色的边框线,您如何在我的页面中看到:http://rossimelthomas.com/contact.html . 在您看来,我该如何解决这个问题?

如果您不明白问题出在哪里,我可以将屏幕截图发送给您,无论如何感谢您 future 的所有帮助(也许)并且抱歉我的英语。 我在这里发布我的 html:

<form action="php/mail_send.php" method="POST">
        <input autocomplete="off" onfocus="if (this.value=='Name') this.value = ''" onblur="if (this.value=='') this.value = 'Name'" style="border: solid 1px; border-radius: 5px; height:25px; border-color: white; width: 65%; "  value="Name" type="text" name="name">
        <input autocomplete="off" onfocus="if (this.value=='E-Mail') this.value = ''" onblur="if (this.value=='') this.value = 'E-Mail'" style="margin-top: 20px; border: thin 1px; border-radius: 5px;  height:25px; border-color: white; width: 65%" value="E-Mail" type="email" name="email">
        <input autocomplete="off" onfocus="if (this.value=='Subject') this.value = ''" onblur="if (this.value=='') this.value = 'Subject'" style="margin-top: 20px; border: thin 1px; border-radius: 5px; height:25px;  border-color: white; width: 65%" value="Subject" type="text" name="subject">
        <textarea class="txt_field" style="    color: #99a0aa;margin-top: 20px;  font: normal normal 16px/20px pnova-regular, helvetica, sans-serif; border: thin 1px; border-radius: 5px; border-color: white; width: 65%; height: 300px;" type="text" name="message">Message</textarea>
        <input style="margin-top: 20px; border: thin 1px; border-radius: 10px; border-color: white; cursor:pointer; margin-bottom: 50px; background-color: #4db849; width:65%; height: 45px; color: white; font-weight: 700;" type="submit" value="Send Message">
        </form>

最佳答案

你的输入说它有边框

<textarea class="txt_field" style="    color: #99a0aa;margin-top: 20px;  font: normal normal 16px/20px pnova-regular, helvetica, sans-serif; border: thin 1px;

请注意该行的最后几个字: “边框:细 1px;”

将其更改为“border: 0px”以将其删除。

关于javascript - 当我使用 firefox 时,textarea 上的灰色边框线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28130194/

相关文章:

jquery - 在 MVC4 中隐藏或显示 DIV

html - 随机 margin-right

html - 图片悬停只能在谷歌浏览器上正常工作

javascript - 为什么 div 会发生冲突?

javascript - 如何在自定义原型(prototype)方法中附加 socket.io 事件?

javascript - 从 javascript 嵌入标签打印 Pdf

jquery - 当我们看不到另一个 div 时如何修复一个 div?

javascript - 如何在 jQuery 中用动态生成的元素替换 Div 元素?

javascript - ReactJS 与 AngularJS 的比较

javascript - session.getDatabase 返回 null