我在 Internet Explorer 中遇到了元素符号问题。我已经尝试删除 ie 中双重显示的元素符号,但我不明白为什么它们总是显示。在 Internet Explorer 11 中,它显示我自己的图标(绿色钩子(Hook))和浏览器生成的图标。我想保留绿色的钩子(Hook)并想删除灰色的子弹。请看一下here 。 如果您没有Internet Explorer,请查看我的 。谢谢!
我的 CSS 代码来生成元素符号:
ul,li, .nav ul, .nav li {
list-style:none;
list-style-type: none;
list-style-position:inside;
margin:0;
padding:0;
}
.content ul{list-style:none;margin-left:0;padding-left:0em;text-indent:0em;}
.content ul li:before{
content:'';
background:url(http://www.deutsch-vietnamesisch-dolmetscher.com/i/haken-gruen.png) no-repeat;
background-position:left center;
padding:0 0 0 20px;
margin:0 0px 0 0;
list-style:none;
white-space:normal
}
.content ul {padding: 0 0 0 15px;}
.content ul li ul {padding: 0 0 0 15px;}
.content ul li.list:before{background: none;}
最佳答案
该错误来自页面速度优化。当我直接在闭合主体之前添加 css 代码时,就会出现不需要的元素符号。如果我将CSS文件直接嵌入到头部,那么一切就OK了。我希望有人也需要这个解决方案。
关于html - CSS 删除 Internet Explorer 上的元素符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28609531/