ça ne fait pas propre

Résolu/Fermé
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 - Modifié par baladur13 le 19/10/2015 à 11:30
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 - 22 oct. 2015 à 12:52
bonjour
je m'entraine a coder en html
mais je bloque la :
je dois faire un background avec la même photo avec sa taille original
ma photo fait 100x100
je note donc dans mon html
<html>
<body topmargin="0" leftmargin="0">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
</body>
</html>

jusque la sa vas
mais je veut une page entière remplis de ceci
donc je fait :
<html>
<body topmargin="0" leftmargin="0">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
<IMG src="img/background.jpg" alt="background" width="250" height="250">
</body>
</html>

mais il y a des interstises blanc (couleur du fond)
comment les enlever ?

1 réponse

Tatanos Messages postés 966 Date d'inscription lundi 24 mars 2008 Statut Membre Dernière intervention 26 mai 2016 156
Modifié par Tatanos le 19/10/2015 à 15:59
Salut,

Ouille ! Tu te casses bien la tête :)

Essaies ça :

<body topmargin="0" leftmargin="0" style="background-image: url('img/background.jpg'); background-repeat: repeat;">

</body>
0
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 13
21 oct. 2015 à 12:44
merci :)
0
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 13
21 oct. 2015 à 13:45
deussiemme problemme :
comment definir une position a une image
<IMG src="img/background.jpg" alt="background" width="250" height="250" "position">
0
Tatanos Messages postés 966 Date d'inscription lundi 24 mars 2008 Statut Membre Dernière intervention 26 mai 2016 156
21 oct. 2015 à 17:41
utilise le background image dans une DIV à la place du Body, et tu place la DIV là où tu le souhaite.
0
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 13
22 oct. 2015 à 11:50
quelles balises me permettes de mètre la ou je souhaite le DIV ?
<div 
style="background-image: url('img/background.jpg'); background-repeat: repeat;"
"coordonnées"
>

c'est: topmargin="0" leftmargin="0" ?
0
ati14 Messages postés 426 Date d'inscription mercredi 2 juillet 2014 Statut Membre Dernière intervention 7 décembre 2019 13
22 oct. 2015 à 12:52
c bon j'ai trouvé :)


		 <div STYLE="position:absolute;
top:25px;
left:10%;
right:10%;">
<img src="img/up.png">
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/midle.png" >
<img src="img/end.png" >
</div>
0