我正在使用JavaScript加载ascx文件。当ascx第一次加载时,窗口的背景图像会正确显示。当我第二次加载它时,背景图像不可见。但当我将鼠标悬停在该部分时,它再次可见。
此问题仅发生在Firefox中。它在Chrome中运行良好。
我的HTML:
<tr class="adminPopupBGGrey ">
<td colspan="2" class="adminPopupLines">
</td>
</tr>
CSS:
.adminPopupLines
{
background-image: url(/img/icons/AdminPopupLines.png);
background-repeat: repeat-x;
background-position: center;
height: 2px;
width: 4px;
}