0

我对 WP8.1 上 IE 中的 CSS 颜色有疑问。我要测试的设备是 Lumia 635。

简而言之,样式表中设置的任何颜色都不会显示(无论是背景颜色、字体颜色、链接颜色等)。然而,它们确实适用于我测试过的所有其他设备,以及桌面浏览器(包括 IE)。

媒体查询或任何其他 CSS 似乎都没有问题,只是颜色而已。这是网站,或者如果愿意,我可以发布代码的简化版本:http:
//bulgarian-translation-uk.com/

任何可能来自的帮助或建议将不胜感激。我严重怀疑它是否与问题有关,但该站点在 ColdFusion 应用程序服务器上运行。

先感谢您!

编辑:这是一些说明问题的简单代码 - 它甚至不会显示背景颜色等基础知识,但其他任何内容都没有问题。我也将完全相同的代码上传到以下测试页面:
http ://bulgarian-translation-uk.com/bg/test/

body {
	background-color:#000000;
}
body, .text {
	color:#ffffff;
	font-size:25px;
	font-family:"Times New Roman", Times, serif;
	text-decoration:none;
	filter:none !important;
}
a, .text a {
	color:#0a591d;
	text-decoration:underline;
	filter:none !important;
}
.text {
	text-align:center;
	margin-top:50px;
	padding:0;
}
<div class="text">
Test <a href="#">Test</a>
</div>

4

1 回答 1

0

在头部添加

<style type="text/css">
html,body{height:100%}
body{color:black;background-color:white}
</style>
于 2017-04-13T04:03:43.953 回答