salut,
Pourquoi mon image se répète?
code HTML:
<div id="menu">
<divstyle="background-image:url(images/menu.jpg);">lalalalallala</div></div>
<body></html>
code css:
body{background-repeat: no-repeat;}
{background-repeat:no-repeat;}
Merci
repeat: no-repeat;
dans ton style, et hop !
Je c´est pas p-t a cause que tu as 2 backgroud-repeat ou a cause qu´Il ets marquer background-repeat faudrait peut etre le remplacer par background-norepeat...
<divstyle="background-image:url(images/menu.jpg);"repeat:"no-repeat" >lalalalalla</div></div>
comme ça ça marche pas
Si je me trompe pas, c´est :<div id="menu"><divstyle="background-image:url(images/menu.jpg);repeat:no-repeat" >lalalalala</div></div>
Désolé après rectification, c´est comme ça :<div id="menu"><div
style="background-image:url(images/menu.jpg);background-repeat:no-repeat;" >lalalalala</div></div>
ça ne marche pas, ça répète encore l´ image.
Bon ben alors dans ce cas, mets ça dans ton css :
{background: url(images/menu.jpg) no-repeat;}
et tu codes ça :<div id="menu">lalalalala</div>
ça c´est la vraie solution, si là ça marche pas, je peux plus rien pour toi.
merci ça marche impec maintenant!