CSS虚线边框在IE8中总是出现白色,为什么? [英] CSS dashed border always appears white in IE8, why?
本文介绍了CSS虚线边框在IE8中总是出现白色,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里是交易,我有以下div与虚线边界:
Here is the deal, I have following div with dashed borders:
.dashed-header {
/*background-color: transparent;*/
height: 87px;
margin-top: 5px;
border-top: 1px dashed #613e27;
border-bottom: 1px dashed #613e27;
}
由于某些原因,边框是白色的,而不是#613e27
,我不知道为什么会这样?
这是我的网页您可以在深棕色标题行中看到此边框。
for some reason border is white instead of #613e27
and I have no idea why it is so?
Here is my webpage You can see this border in dark brown header line.
推荐答案
尝试使用:
border-color: #613e27 !important;
这篇关于CSS虚线边框在IE8中总是出现白色,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文