Background décalé sur mobile (android)
Bonjour à tous,
Alors voici mon problème, je mets une image de fond à mon header qui s'affiche correctement sur tous les terminaux sauf sur mon Samsung (sous Android logiquement ;) ). L'image se cale à droite je ne sais pas pourquoi. Si quelqu'un à une explication ou mieux une solution :D je vous écoute.
Je vous mets quand même mon code:
Code:
1 2 3 4 5 6 7 8 9 10
|
background: #FFF url(../image/fond.jpg) no-repeat scroll top -35px center / auto 1024px;
// Ou aussi:
background-color: #FFF;
background-image: url(../image/fond6_2.jpg);
background-attachment: scroll;
background-repeat: no-repeat;
background-position: center top -35px;
-webkit-background-size: auto 1024px;
background-size: auto 1024px; |
A savoir que ça fonction sous iphone etc ...