为什么我的webiste在iPad上只显示一个图像? [英] Why my webiste display only one image on iPad?

查看:348
本文介绍了为什么我的webiste在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).

代码:

#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的背景图片是空的(没有文本和没有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;

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

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

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

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