为什么我的网站在iPad上只显示一张图片? [英] Why my website display only one image on iPad?

查看:246
本文介绍了为什么我的网站在iPad上只显示一张图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站有问题。在网站上只显示一个(第一)图像,即使其他图像也是如此(我的意思是同样的src,就像第一个一样)。

I have problems with my website. There is displayed only one (first) image on website even if futher images will be this same (I mean this same src, just like to first one).

网站有带图像背景的部分。

Website has section with image background.

代码:

#kafelobrazintro { 
background: url(../images/introtablet.jpg) 50% 0 no-repeat fixed; 
height: 1000px;
margin: 0 auto; 
width: 100%; 
max-width: 1920px; 
position: relative; 
box-shadow: 0 0 50px rgba(0,0,0,0.8);
overflow:hidden;
}

这是带有工作img的部分,但即使我将此css复制到另一部分,网站仍然只显示一个img。

This is section with working img but even if I copy this css to another section, website will still display only one img.

网站上的图片低于2 MPX,分辨率:1024 x 614 px,尺寸小于100kb。

Images on website are lower than 2 MPX, resolution: 1024 x 614 px, size less than 100kb.

如果你有iPad检查我的网站并知道我在说什么:>网站只显示第一个img:?

If u have iPad check my website and get know what Im talking about :> Website display only first img :?

为什么它的不工作?

地址: http:// www。 badzlepszy.pl/Nebiolo/

推荐答案

同样的问题在这里有点不同。我的div-s与背景图片是空的(没有文字和没有HTML内容)

Same problem was here with a little bit of difference. My div-s with background images were empty ( no text and no html content )

这里的解决方案是添加:min-width:1024;这些div-s。

The solution here was adding: min-width: 1024; to these div-s.

(我在 http://www.browserstack.com/ 并且看起来不错)

( I tested your site with iPad Air and iPad 4th on http://www.browserstack.com/ and looks good )

这篇关于为什么我的网站在iPad上只显示一张图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆