Background ajusté à tout type d'écran
Paqf23
-
Paqf23 -
Paqf23 -
Bonjour,
Moi et mon band nous avons créé un myspace il n'y a pas très lontemps. J'ai commencé à deisigner mon myspace. Lorsque je suis arrivé au background il m'est alors arrivé un problème: j'ai créé une image background ajusté a mon écran de 20'. Lorsque je vais sur mon myspace apartir de cet ordi tout va bien le background est parfaitement ajuster. Par contre j'ai un porable avec une plus petite écran et lorsque je vais sur le myspace a partir de mon portable l'image n'apparait pas comme sur mon autre ordi...
Je sais qu'il existe une manière d'ajuster l'image en pourcentage au lieux de en pixel. Par contre je ne connais pas le code à insérer...
Si vous connaisser une autre manière, merci de m'en faire part.
J'espère que quelqu'un pourra résoudre mon problème!
Merci!
Paqf23
Moi et mon band nous avons créé un myspace il n'y a pas très lontemps. J'ai commencé à deisigner mon myspace. Lorsque je suis arrivé au background il m'est alors arrivé un problème: j'ai créé une image background ajusté a mon écran de 20'. Lorsque je vais sur mon myspace apartir de cet ordi tout va bien le background est parfaitement ajuster. Par contre j'ai un porable avec une plus petite écran et lorsque je vais sur le myspace a partir de mon portable l'image n'apparait pas comme sur mon autre ordi...
Je sais qu'il existe une manière d'ajuster l'image en pourcentage au lieux de en pixel. Par contre je ne connais pas le code à insérer...
Si vous connaisser une autre manière, merci de m'en faire part.
J'espère que quelqu'un pourra résoudre mon problème!
Merci!
Paqf23
A voir également:
- Background ajusté à tout type d'écran
- Double ecran - Guide
- Ecran a l'envers - Guide
- Capture d'écran whatsapp - Accueil - Messagerie instantanée
- Capture d'écran samsung - Guide
- Capture d'écran mac - Guide
8 réponses
Salut, il faut que tu rajoutes ceci à ta balise background:
<background="images/tonimage.gif" width="100%" height="100%">
Voila en espérant avoir répondu à ton problème.
<background="images/tonimage.gif" width="100%" height="100%">
Voila en espérant avoir répondu à ton problème.
Merci beaucoup pour la balise par contre je crois que je ne l'ajoute pas à la bonne place... bref sa ne marche tjr pas. Par contre voila toute la balise que j'ai mis dans la section "Qui je suis":
<style type="text/css">
body {
<background=images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%">
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
Comme cela vous pourrez me dire qu'est-ce que j'ai mal fait dans la forme de la balise car en ce moment avec cette balise plus rien n'apparait comme background...
Merci!
Paqf23
<style type="text/css">
body {
<background=images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%">
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
Comme cela vous pourrez me dire qu'est-ce que j'ai mal fait dans la forme de la balise car en ce moment avec cette balise plus rien n'apparait comme background...
Merci!
Paqf23
eummmm.... tjr rien. Maintenant je ne vois pas l'erreur... Qu'est-ce que cela fait : myspace n'affiche pas l'image donc on vois un background blanc...
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
J'ai l'impression de me répeter mais .... Cela ne marche tjr pas... Le background reste blanc... Je sais pas si c'est moi qui ne le met pas a la bonne place mais c'est pas compliquer nous n'avons qu'à le copier dans la section Qui je suis.
Tu as fais plusieurs erreur:
=>manque le } a la fin qui ferme ta balise
=>manque url()
=>manque le </style>
=>pas besoin de <> a ton background
Ce qui donne
<style type="text/css">
body
{
background: url ("images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%")
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>
Voila essaies comme ca, ca devrait etre mieux!!!
=>manque le } a la fin qui ferme ta balise
=>manque url()
=>manque le </style>
=>pas besoin de <> a ton background
Ce qui donne
<style type="text/css">
body
{
background: url ("images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%")
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>
Voila essaies comme ca, ca devrait etre mieux!!!
Ah j'ai oublié le ; a la fin du background:
<style type="text/css">
body
{
background: url ("images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%");
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>
<style type="text/css">
body
{
background: url ("images/http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%");
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>
Le chemin d'accès a l'images n'est pas correct, pas besoin du images/:
<style type="text/css">
body
{
background: url ("http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%");
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>
<style type="text/css">
body
{
background: url ("http://img227.imageshack.us/img227/4945/fond2copygo8.gif" width="100%" height="100%");
background-position:Center Center;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:000000;
}
</style>