Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Firefox上的搜索框已损坏_Html_Css - Fatal编程技术网

Html Firefox上的搜索框已损坏

Html Firefox上的搜索框已损坏,html,css,Html,Css,我正在尝试用css制作一些美容搜索框 在chrome上,这很好,但在FF上,搜索按钮坏了 <form class="form-wrapper cf" action="" method="post"> <input type="search" placeholder="O que voce procura?" required> <button type="submit">BUSCAR</button>

我正在尝试用css制作一些美容搜索框

在chrome上,这很好,但在FF上,搜索按钮坏了

    <form class="form-wrapper cf" action="" method="post">
        <input type="search" placeholder="O que voce procura?" required>
        <button type="submit">BUSCAR</button>
    </form>
这是我的小提琴:

在Chrome和Firefox上打开以查看问题


如何修复它?

刚刚从.form wrapper中删除了宽度,它似乎可以工作。

尝试将mozilla规则添加到.form wrapper输入:

-moz-border-radius: 3px 0 0 3px;
background: #eee url(imagens/lupa.png) no-repeat;
此外,请尝试正确注释这些行:

In.form包装器输入:

-moz-border-radius: 3px 0 0 3px;
background: #eee url(imagens/lupa.png) no-repeat;

In.form包装器输入:焦点:

background: #fff url(imagens/lupa.png) no-repeat;


Maxime

有时候最简单的解决方案就是最好的,是吗?!Maxime,
#eee
#fff
它不是一行,而是:
#eeeeee
#ffff
的颜色缩写,对!被synthax荧光灯弄糊涂了。。对不起:)
#background: fff url(imagens/lupa.png) no-repeat;