0

我在 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;
}

它在 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;
}

两者都工作得很好。逻辑在哪里?我错过了什么?感谢您的关注。

4

1 回答 1

0

缓存问题。我不得不直接去图像位置和 ctrl+shift+r。不知道为什么 Chromium 没有从包含页面的缓存中刷新图像。

于 2012-12-02T15:05:28.403 回答