I don’t know why the “background image” that I installed works fine in all browsers, but it’s not in the Safari browser for Iphone (exactly the one I need),
This is the appropriate style for the question.
#panel.right ul.visible li a span.liLeft{ width:95px; float:left;height:100%;display:block; position:relative; right:40px; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; z-index:10; } #panel.right ul.visible li a span.liRight{ background:black !important; color:#fff; } #panel.right ul.visible li a span.liRight{ z-index:9; } #panel.right ul.visible li#blue a{ border-color:#0C7CC3; } #panel.right ul.visible li#pink a{ border-color:#C21B7B; } #panel.right ul.visible li#orange a{ border-color:#E83B35; } #panel.right ul.visible li#blue a span.liLeft{ background-image:url('http://piscolabis.info/licht/img/azul.png'); } #panel.right ul.visible li#pink a span.liLeft{ background-image:url(../img/rosa.png); } #panel.right ul.visible li#orange a span.liLeft{ background-image:url(../img/naranja.png); }
you can check the online code http://jsfiddle.net/6dK3T/2/ or http://piscolabis.info/job_single.html
As you can see, I set the full URL of the path so that you can see that the image is on the server (and in any browser on the desktop), but I don't know why the image is still not showing on iphone
(it displays just like the other two, I did not set the absolute path (and since they are not in jsdfiddle, they do not work))
Is it because of the background image? is it because the position: relative?
any idea why this is happening?
-Edit -
should look like this:

Doesn't that look like mistery?
Toni michel caubet
source share