Html IE11中的背景图像

Html IE11中的背景图像,html,css,background,background-image,internet-explorer-11,Html,Css,Background,Background Image,Internet Explorer 11,我有一个简单的标签,我想为其设置背景图像 label{ content: ''; opacity: 1; position: absolute; display: block; visibility: visible; right: 2px; top: 0; background-image: url(http://icons.iconarchive.com/icons/hopstarter/sleek-xp-basic/24/Ok-icon.png); background-repeat: n

我有一个简单的
标签
,我想为其设置背景图像

label{
content: '';
opacity: 1;
position: absolute;
display: block;
visibility: visible;
right: 2px;
top: 0;
background-image: url(http://icons.iconarchive.com/icons/hopstarter/sleek-xp-basic/24/Ok-icon.png);
background-repeat: no-repeat;
background-color: whitesmoke;
width: 23px;
height: 23px;
}

我尝试过的几个建议是:

  • 分离背景图像和颜色
来自
background:url(http://icons.iconarchive.com/icons/hopstarter/sleek-xp-basic/24/Ok-icon.png)不重复

背景图像:url(http://icons.iconarchive.com/icons/hopstarter/sleek-xp-basic/24/Ok-icon.png); 背景重复:无重复

  • 设置宽度和高度
但这没用



我从Win8.1 IE 11开始工作。可能有问题?

背景id出现在我的IE11@Shl,嗯,比我的设置中的某个东西…?@demo你知道吗?我的设置中出现的背景idIE11@Shl,嗯,比我的设置中的一些东西…?@demo你知道吗?