Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.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 小屏幕上的CSS精灵<;输入类型=';按钮'&燃气轮机;含铬_Html_Css_Google Chrome_Webkit_Chromium - Fatal编程技术网

Html 小屏幕上的CSS精灵<;输入类型=';按钮'&燃气轮机;含铬

Html 小屏幕上的CSS精灵<;输入类型=';按钮'&燃气轮机;含铬,html,css,google-chrome,webkit,chromium,Html,Css,Google Chrome,Webkit,Chromium,我对铬有一个恼人的问题 代码如下: <input type="button" class="expand_bt" value=" "> .expand_bt { background: url('../img/actions_btns.jpg') -2340px -542px no-repeat; height: 24px; width: 26px; border: none; cursor: pointer; } .扩大{ 背景:ur

我对铬有一个恼人的问题

代码如下:

<input type="button" class="expand_bt" value=" ">


.expand_bt {
    background: url('../img/actions_btns.jpg') -2340px -542px no-repeat;
    height: 24px;
    width: 26px;
    border: none;
    cursor: pointer;
}

.扩大{
背景:url('../img/actions_btns.jpg')-2340px-542px不重复;
高度:24px;
宽度:26px;
边界:无;
光标:指针;
}
它在Chromium中没有显示任何内容,在Firefox中一切正常。但这是:

<input class="btn_save" value=" " id="save_general" type="button">

.btn_save {
    background: url('../img/actions_btns.jpg') -178px -550px no-repeat;
    height: 38px;
    width: 122px;
    border: none;
    cursor: pointer;
}

.btn_保存{
背景:url('../img/actions_btns.jpg')-178px-550px不重复;
高度:38px;
宽度:122px;
边界:无;
光标:指针;
}
在这两个方面都很好。逻辑在哪里?我错过了什么?
感谢您的关注。

缓存问题。我必须直接转到图像位置,然后按ctrl+shift+r。不知道为什么Chromium没有从包含页面刷新缓存中的图像。

为什么要移动这么多背景图像?1)因为我使用CSS sprite 2)这对我来说不管用!Chromium没有加载新版本的精灵!现在,我必须以某种方式刷新他的缓存(ctr+shift+r、shift+f5和ctr+f5不起作用)UPD方法是在单独的窗口中加载img时ctr+shift+r。在开发人员工具控制台打开的情况下,它不重新加载图像,这真是愚蠢。