开发者

Mobile Browsers don't display images on website

Created a website, looks pretty solid on the desktop. (http://foo.com) Used an .htaccess redirect to send those using mobile browsers to subpage (http://foo.com/m.html). Redirect is working like a charm.

My problem is that one image (and for that matter, the background color) doesn't display on the mobile page, on any mobile browser. I've tried reformatting it (.png, .jpg, .gif), resizing it (down to 55p x 44p). It is the only image on the page. I've tried using a css stylesheet specifically for the mobile subpage, I've tried not using a stylesheet at all and simply putting the image in the body. Nothing works. I've searched for an answer but all I can find is '开发者_开发问答why doesn't my wallpaper display on my mobile phone', which doesn't help at all.

Anyway, if someone knows what I'm doing wrong, I'd really appreciate it. Thanks all!


I've got the same problem, I've done a very simple page, with a single image inside, surfing there with desktop was all right, while going there with a mobile makes the image invisible, it takes the place, but without display, like with "visibility:hidden"; after some tries, i've noticed that the image was saved in a CMYK color space, I've converted the image in RGB color space and then all goes right.

mobile browsers seeams to not manage the CMYK image versions...


Look at CSS part:

background-image:('background.gif')

Do You think all is OK here? Because I think it's not...

https://developer.mozilla.org/en/CSS/background-image

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜