ios 7 browser-kit黑色边框围绕div元素 [英] ios 7 browser-kit black borders around div elements
问题描述
我在iOS7的浏览器中出现了一个奇怪的错误,其中黑色线条出现在div元素周围。但是当你放大一个元素,这些线消失。有没有人有一个想法是什么导致这个奇怪的错误?在iOS6中没有出现任何行。
此网址正在发生: http://www.tristanfrencken.com/
$希望有人可以帮助我这个!
奇怪的是,这似乎是在元素固定AND具有背景颜色,但仅在IOS7中,而不是如果它有背景图像。我会把它作为一个bug在浏览器中粉碎,但作为一个解决方法,现在你可以使用一个坚实的白色图像,平铺,作为您的标题背景。
I'm getting a strange bug in the browsers in iOS7 where black lines are appearing around div elements. But when you zoom in to an element, these lines are disappearing. Does anyone have an idea what causes this strange bug? In iOS6 there weren't any lines appearing. It's happening on this url: http://www.tristanfrencken.com/
Hopefully someone could help me with this!
Bizarrely, this seems to be triggered when an element is fixed AND has a background color, but only in IOS7 and not if it has a background image. I'd chalk it up as a bug in the browser, but as a workaround for now you could use a solid white image, tiled, as your header background.
这篇关于ios 7 browser-kit黑色边框围绕div元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!