简体   繁体   中英

Black background on iOS5/6 (Safari, Ipad, Iphone)

I have contact form with input[type="text"] and select fields. For those elements i setup background image without any transparent pixels

But on iOS devices it's black

CSS code:

border:1px solid #909090; 
height:19px; 
width:344px; 
background:#fff url(../img/input-bg.png) 0 0 repeat-x

Nothing else overwrite those styles. What's the problem?

You may either:

  1. Re-save the files as other image files (JPEG, GIF)
  2. If it is a gradient image, then you may use CSS3 Gradient to achieve the effect.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM