donaldlloyds Posted January 7, 2010 Posted January 7, 2010 bonsoir, petite question qui je supose est super simple mais bon tant que le ne la pas realiser une foie on peut pas savoir, alors je vais faire mon boulet mais je suis sur que ca aidera quelqu un d autrej ai actuellement un backround :transparent url(../img/block_footer.gif) no-repeat scroll left bottomje souhaite rajouter par dessus un png afin d y intégrer des formes que je voudrais changer par la suite d ou la nécessité de 2 backrounds superposer, comment faire ???V+ Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 8, 2010 Posted January 8, 2010 après quelques recherche sur le web ca devrais donné quelques chose comme ca si j ai bien compris2 script diffèrent car sur le deuxième le type disé que ca marchais avec css.2 de memoir :sick: je ne suis pas chez moi donc j essayerais les 2 ce soir pour vous dire si jeme suis trompé %-P ######################################### body { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white url(http://site/img/bg.jpg) repeat-x scroll center top; background:transparent url(http://site/img/bg2.jpg) repeat-x scroll center top; color:#5D717E; font-family:Verdana,Arial,Helvetica,Sans-Serif; font-size:11px; text-align:center; } ####################################### body { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background-image: url(http://site/img/bg.jpg), url (http://site/img/bg2.jpg); color:#5D717E; font-family:Verdana,Arial,Helvetica,Sans-Serif; font-size:11px; text-align:center; } ####################################### Share this post Link to post Share on other sites More sharing options...
Nommam Posted January 8, 2010 Posted January 8, 2010 tu prend les chose a l'envers mon amis, tu n'a pas 2 background supperposé, c'est pas possible !Tu en mets un dans le body, et l'autre dans la div #page Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 8, 2010 Posted January 8, 2010 tu prend les chose a l'envers mon amis, tu n'a pas 2 background supperposé, c'est pas possible !Tu en mets un dans le body, et l'autre dans la div #page comme ceci ?body { -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white url(http://site/img/bg.jpg) repeat-x scroll center top; color:#5D717E; font-family:Verdana,Arial,Helvetica,Sans-Serif; font-size:11px; text-align:center; } #page { background:transparent url(http://site/img/bg2.png) repeat-x scroll center top; margin:0 auto 2px; text-align:left; width:980px; Share this post Link to post Share on other sites More sharing options...
Nommam Posted January 8, 2010 Posted January 8, 2010 pkoi pas !!! Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 8, 2010 Posted January 8, 2010 pkoi pas !!! tu n aurais pas fait comme ca ?j essai ca ce soir et tout autre propositionmerci pour le coup de main je commence a comprendre le principe mais je ne maitrise pas encore les codes. Share this post Link to post Share on other sites More sharing options...
Nommam Posted January 8, 2010 Posted January 8, 2010 je ne suis pas expert en css, Donc .... je tatonne Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 8, 2010 Posted January 8, 2010 ca marche pas Share this post Link to post Share on other sites More sharing options...
jeckyl Posted January 8, 2010 Posted January 8, 2010 Tu as un conteneur body qui correspond à tout l'écran, sur ce conteneur tu veux rajouter une image.Cette image sera le fond d'un élément, donc comme tous les éléments composant un page web sont intégrés dans la balise body il n'y a pas de problème.Je ne comprends d'où te vient la difficulté ? Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 8, 2010 Posted January 8, 2010 aurais tu un bout de code a me proposer stp Share this post Link to post Share on other sites More sharing options...
jeckyl Posted January 9, 2010 Posted January 9, 2010 Salut,Après réflexion, je ne comprends pas exactement ce que tu cherche à faire.Ton premier background est où et le second s'applique où.Peux tu nous faire un montage en image. Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 9, 2010 Posted January 9, 2010 c est tout simple je cherche a superposer 2 backgroud, 1 avec le font et l autre avec une image transparent, mais je crois que je vais fusionner les 2 a chaque foi car je ne trouve pas la solution;) Share this post Link to post Share on other sites More sharing options...
jeckyl Posted January 9, 2010 Posted January 9, 2010 Franchement je ne comprends pas où est ton problème.Ta as ta balise body avec un background et par exemple ta div #header avec un background et ce la fonctionne très bien. Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 10, 2010 Posted January 10, 2010 oui mais la div header et juste pour le header moi je veu pouvoir superposer sur un background complet Share this post Link to post Share on other sites More sharing options...
jeckyl Posted January 10, 2010 Posted January 10, 2010 Ben, tu englobe ta div #page dans une nouvelle div qui n'aura pas de largeur fixe et tu lui appliques un background. Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 10, 2010 Posted January 10, 2010 merci mais on fait ca comment ???je ne maitrise pas les script encore dsl Share this post Link to post Share on other sites More sharing options...
jeckyl Posted January 10, 2010 Posted January 10, 2010 il faut trouver l'ouverture et la fermeture de la div #page qui se trouve respectivement dans le header.tpl et le footer.tpl de ton thème. Aprsè tu rajoute une ouverture et une fermeture de div autour en lui donnant un id et tu lui applique une ligne css dans global.css.pour le css : http://www.alsacreations.com/tutoriels/ Share this post Link to post Share on other sites More sharing options...
donaldlloyds Posted January 10, 2010 Posted January 10, 2010 merci pour le tuto ca va bien m aider Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now