【发布时间】:2013-10-07 09:28:47
【问题描述】:
我在Windows8下的IE10中遇到了如下问题,只是使用了带有repeat-x背景的简单div并且使用透明png时出现了伪影。
结果: http://s18.postimg.org/9tn3dlsqx/artifacts.png
这里是示例代码:
CSS
div.field { height: 762px; background-image: url(../img/background_grass.png) repeat-x; width: 5000px; left: -700px; position: absolute; }
div.graphics { overflow: hidden; width: 3840px; position: absolute; background: url(../img/path_1.png); height: 640px; top: 315px; left: -1000px;}
还有html
<!DOCTYPE html>
<html>
<head>
<title>MyForest - Идея по-чисто</title>
<meta charset="UTF-8" />
<link href="styles/styles.css" rel="stylesheet" />
</head>
<body>
<div class="field"></div>
<div class="graphics"></div>
</body>
【问题讨论】:
-
仅在 Windows 8 下的 IE 10 上?另外,你能做一个小提琴吗?
标签: html css internet-explorer png transparency