Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1664 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  [CSS] Changer de background image sur un div

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[CSS] Changer de background image sur un div

n°1527932
snp
quand on sait pas, on se tait
Posté le 13-03-2007 à 15:39:29  profilanswer
 

Bonjour,
je cherche un moyen pour remplacer le background-image général à mon site par la même image mais plus légère afin de mieux lire les textes.
 
En gros, quand j'affiche du texte dans mon <div> j'aimerai que le background sois plus light !
 
Merci d'avance


Message édité par snp le 13-03-2007 à 15:40:02
mood
Publicité
Posté le 13-03-2007 à 15:39:29  profilanswer
 

n°1527961
masklinn
í dag viðrar vel til loftárása
Posté le 13-03-2007 à 16:20:13  profilanswer
 

Oui et donc?


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1527963
snp
quand on sait pas, on se tait
Posté le 13-03-2007 à 16:22:33  profilanswer
 

et donc je cherche quelqu'un qui connait une astuce ! merci

n°1527966
masklinn
í dag viðrar vel til loftárása
Posté le 13-03-2007 à 16:28:31  profilanswer
 

Il n'y a pas d'astuce, on met un background sur un div de la même manière que sur un <p>, un <adress>, un <form> ou un <body> [:petrus75]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1527969
snp
quand on sait pas, on se tait
Posté le 13-03-2007 à 16:49:24  profilanswer
 

oui ça ok mais le pb c'est que mon background est en PNG avec des effets de transparence...du coup j'ai mes 2 backgrounds qui se superposent !
autre solution ?

n°1527970
Pato el ca​nardo
Posté le 13-03-2007 à 16:52:13  profilanswer
 

et en mettant une couleur (blanc au hasard) au background de ta div sur laquelle tu mets ton png ?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  [CSS] Changer de background image sur un div

 

Sujets relatifs
nombre max d'image par ligneAfficher une image pendant l'exécution d'un script
[HTML] Probleme avec Border & ImageServeur Apache saturé: changer la priorité d'un script?
[Access] Pilotage scanner et stockage d'image dans Access ?[CSS] problème de bloc - ajout d'images
access changer format controleApplet de capture d'image d'une webcam
Lien d'une image erronécode html image nouvelle fenetre...
Plus de sujets relatifs à : [CSS] Changer de background image sur un div


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)