【发布时间】:2013-02-19 10:31:52
【问题描述】:
在 ios5 上,网站加载正常且看起来正确。
从 ios6 开始,我网站中使用 png 图像作为背景的部分开始在 iPad 上呈现,但随后背景无缘无故地变为黑色(注意所有其他部分保持正确的颜色)。
代码:
<section id="showcase">
<section class="container">
<img src="images/usp.jpg" alt="USP Screen" id="screen">
<h2>title</h2>
<p>the text.</p>
<p>The text.</p>
</section></section>
CSS:
#showcase { background: url(../images/showcasebg.png) repeat-x #ededed; height: 600px; position: relative; top: 87px; }
#showcase h2 { float: left; max-width: 422px; font-family: 'Lobster', cursive; font-size: 36px; margin-top: 20px; }
#showcase p { float: left; max-width: 422px; margin-top: 20px; }
【问题讨论】:
-
我们可以提供一个指向您网站的链接吗?也许还有其他问题。
-
不幸的是,目前不可能,我希望其他人在升级到 ios6 后可能遇到过类似的问题,并且可能已经找到了答案。