CSS : where are the white background borders on textboxes coming from?

标签 css textbox formborderstyle

我有以下页面:

http://www.jameschang.com/faxlogic/

在登录部分右上角的 4 个 Angular 上,文本框有这些白色边框。

我有这些文本框的以下 css 属性:

.HeaderLoginField {
    background-image: url(../content/login_field.png);
    float: left;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 12px;
    color: #969696;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    height: 25px;
    width: 160px;
    text-indent: 3px;
    background-color: #0F0F0F;
    background-repeat: no-repeat;
    font-weight: normal;
}

知道为什么会发生这种情况吗?我已将 png 图像更改为 gif,它们消失了,但我想使用 png。任何想法为什么会这样?

提前致谢

最佳答案

它绝对是您正在使用的图像,我使用 Firebug 检查了元素,当禁用/启用背景图像时,白 Angular 消失了!

关于CSS : where are the white background borders on textboxes coming from?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4298771/

相关文章:

css - Twitter Bootstrap - 固定背景

css - 为什么未 float 的 div 会覆盖/重叠 float 的 div? (以 "why"为焦点)

C# Winforms | C#表格边框厚度

visual-studio-2010 - 防止 VS2010 CSS 验证恢复到 CSS 2.1

javascript - 单击链接时显示内容

javascript - 如何从动态创建的文本框中获取值?

mysql - 在 vb.net 中将 mysql 数据库表显示到 datagridview 中

css - Microsoft Edge 上的禁用文本框不可选择

ios - 文本字段一侧的 UITextfield borderColor 和宽度

vb.net - 如何将自定义边框添加到 FormBorderStyle=None - 表单?