Solved

Image background color displays incorrectly on iPhone

Posted on 2013-06-01
12
467 Views
Last Modified: 2013-06-02
Certain images on my website have an unintended appearance in iPhone.  For example, an image at the top of www.mauitradewinds.com which says "Maui Tradewinds-- Welcoming the Traveler to Paradise".  This image is supposed to have the same background color as the page, but the background appears black on some iPhones.  

The reason I am using images, rather than text itself, is because I couldn't create the desired font by other means.  The backround was applied to these images by setting the Palette Transparency in Paint Shop Pro to equal the background color of the page.
The images look just as intended on desktops and notebooks, but not on some iPhones.
0
Comment
Question by:ddantes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39213980
"This image is supposed to have the same background color as the page"

There is no background color assigned to your body or wrap elements.
0
 

Author Comment

by:ddantes
ID: 39213991
Thank you for participating.  In style.css:
body {
background-image: url("../images/background.jpg");
}
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214017
background-image: is not background-color: so I don't know what you are talking about then.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ddantes
ID: 39214025
Sorry for my lack of distinction with some terms.  The images in question consist of blue text against a beige, textured background.  That background is made from an image called background.jpg, which is also used as the background for the body of the page.  The desired result, which appears on desktops, is blue text against a background which is seamless with the rest of the page.  In some iPhones, what appears is a black rectangle with blue text.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39214740
Try converting your image to a PNG format with a transparent background.  Paint Shop Pro can do that.
0
 

Author Comment

by:ddantes
ID: 39214764
I will try that.  Were you able to reproduce the observation about a black rectangle?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214783
No, I don't have an iPhone.  By the way, which model iPhones are giving you problems?
0
 

Author Comment

by:ddantes
ID: 39214789
My own iPhone 5 and iPad 4th generation don't have this issue, although it has appeared once or twice.  I saw the black rectangle on three iPhones yesterday, while attending a graduation party.  I didn't think to notice what model of iPhone I was using.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214792
Try the PNG but you need to find out who and what device is having the problem before you can know whether it can be solved.
0
 

Author Comment

by:ddantes
ID: 39214806
Will do, and thanks again.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214815
Sure, let us know how it works out.
0
 

Author Comment

by:ddantes
ID: 39214933
Success!  My iPhone happened to have one if its intermittent moods, and it displayed the black rectangle around the title image.  Comparing that with the same image, saved in png format and converted to transparent background, the issue is resolved.  Great suggestion.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
The goal of the tutorial is to teach the user how to use the cropping tool and to straighten there photos so it does not look tilted. You will choose which photo you want to edit, crop it to you liking and make it straight.
The goal of the tutorial is to teach the user the full work flow of how to use flash media encoder to stream onto YouTube.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question