[CSS] Changer de background image sur un div

Changer de background image sur un div [CSS] - HTML/CSS - Programmation

Marsh Posté le 13-03-2007 à 15:39:29    

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
Reply

Marsh Posté le 13-03-2007 à 15:39:29   

Reply

Marsh Posté le 13-03-2007 à 16:20:13    

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, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 13-03-2007 à 16:22:33    

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

Reply

Marsh Posté le 13-03-2007 à 16:28:31    

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, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 13-03-2007 à 16:49:24    

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 ?

Reply

Marsh Posté le 13-03-2007 à 16:52:13    

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

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed