图像不会显示在移动浏览器中 [英] image won't show up in mobile browser
本文介绍了图像不会显示在移动浏览器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在移动网页上有一张图片。该图像似乎并未出现在移动浏览器的页面中。如果我直接访问它,但是,它显示。如果我在常规浏览器中查看页面,它就会显示出来。我们已经用Dolphin for Android,Opera for Android,本机Android浏览器和iPhone Safari浏览了它。什么给了?
I have an image in a mobile web page. The image does not appear to show up in the page in a mobile browser. If I access it directly, however, it shows up. If I look at the page in a regular browser, it shows up. We've looked at it with Dolphin for Android, Opera for Android, the native Android browser, and Safari for iPhone. What gives?
手机页面(包含视频)
http://bit.ly/L2YA1i
the mobile page (contains video) http://bit.ly/L2YA1i
有问题的图片
http://bit.ly/L3QlU3
图片的HTML(它是容器)
The HTML for the image (and it's container)
<div class="logo"><a href="http://m.celebritycruises.com/m/home.do"><img src="http://media.celebritycruises.com/celebrity/content/en_US/images/cel_misc/logo.jpg" alt="Celebrity Mobile"></a></div>
容器的CSS>
.logo {
padding:10px 0;
text-align:center;
}
推荐答案
试试这个:
<div class="logo">
<a href="http://m.celebritycruises.com/m/home.do">
<img src="http://media.celebritycruises.com/celebrity/content/en_US/images/cel_misc/logo.jpg"
alt="Celebrity Mobile" border="0" width="259" height="55"
/>
</a>
</div>
这篇关于图像不会显示在移动浏览器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文