Problème de bannière

Vous avez un problème sur votre myspace...

Problème de bannière

Messagede full » Ven 26 Fév 2010 11:49

Bonjour a tous,
Dans le cadre d'un stage je m'occupe du myspace d'une smac, j'ai bricolé un code a base de repiquage sur un layout tout fait sur un site lambda. Le soucis est que j'arrive a créer une bannière, mais je n'arrive pas y mettre une photo. Je pense que cela viens de la nature de mon code...Pouvez vous jetez un oeil?!
lien myspace: http://www.myspace.com/smaclefil
Mon code:
<style>
.banniere {background-image:url('width:400px; height:80px;position: absolute;margin-left: -400px;left: 50%;top: 0px;}
body {margin-top:300px;}
{ Contact Table }
.contactTable {width:300px!important; height:150px!important; padding:0px!important; background-image:url('http://img16.imageshack.us/img16/8790/sssspt.jpg');opacity:0.80; background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-color:transparent;}
.contactTable table, table.contactTable td {padding:0px !important; border:0px; background-color:transparent; background-image:none;}
.contactTable a img {visibility:hidden; border:0px!important;}
.contactTable a {display:block; height:28px; width:115px;}
.contactTable .text {font-size:1px!important;}}

{ Extended Network Banner }
table table table td {vertical-align:top ! important;}
span.blacktext12 {
visibility:visible !important;
background-color:transparent;
background-image:url('http://img696.imageshack.us/img696/6821/cablesbisneon.jpg');opacity:0,70;
background-repeat:no-repeat;
background-position:center center;
font-size:0px; letter-spacing:-0.5px;
width:435px; height:600px; display:block !important; }
span.blacktext12 img {display:none;}

{ Background Properties }
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:;
background-image:url('http://img196.imageshack.us/img196/9878/cablesmyspace2010.jpg');
background-attachment:fixed;
background-position:center center;
background-repeat:repeat;
border-top-width:3px;
border-bottom-width:3px;
border-left-width:3px;
border-right-width:3px;
border-color: FFDDDD;
border-style:solid;
padding-left:10px;
padding-right:10px;
}

{ Table Properties }
table table { border: 0px }
table table table table{border:0px}
table, tr, td { background-color:transparent; border:none; border-width:0;}
table table table {
border-style:solid;
border-width:1;
border-color:FF22EE;
background-color: FFDDDD;
filter:alpha(opacity=0,95);
background-image:;
background-repeat:repeat;
background-attachment:fixed;
background-position:center center;opacity:0.80;
..-opacity:0.80
filter:alpha(opacity=100)
}
table table table table td {filter:none;}

</style>
full
 
Messages: 3
Inscription: Ven 26 Fév 2010 11:43

Problème de bannière

Publicité

Publicité
 

Re: Problème de bannière

Messagede Admin » Ven 26 Fév 2010 16:09

Bonjour full,

Déjà ce code n'est pas bon du tout il faut mettre l'url d'une image et toi tu as mis des propriétés (celle de l'image).
Code: Tout sélectionner
.banniere {background-image:url('width:400px; height:80px;position: absolute;margin-left: -400px;left: 50%;top: 0px;}


Sinon post ici l'url de l'image que tu souhaites mettre en haut, je te donnerai le code tout fait ;)
Avatar de l’utilisateur
Admin
Administrateur du site
 
Messages: 434
Inscription: Lun 8 Sep 2008 15:40

Re: Problème de bannière

Messagede full » Mar 2 Mar 2010 09:21

Bonjour admin,
Je vous copie les liens de mon image:
-lien direct: http://img651.imageshack.us/img651/2352/banniered.jpg
-code html: <a target='_blank' title='ImageShack - Image And Video Hosting' href='http://img651.imageshack.us/i/banniered.jpg/'><img src='http://img651.imageshack.us/img651/2352/banniered.jpg' border='0'/></a>

Merci pour vos astuces, en attendant votre réponse je vais essayer de résoudre mon souci!
full
 
Messages: 3
Inscription: Ven 26 Fév 2010 11:43

Re: Problème de bannière

Messagede Admin » Mar 2 Mar 2010 17:01

Salut, voici le code :

Code: Tout sélectionner
<div class="entete"><img src="http://img651.imageshack.us/img651/2352/banniered.jpg" border="0" /></div><style type="text/css">.entete{ position:absolute; left:50%; top:0px; margin-left: -250px;}</style>
Avatar de l’utilisateur
Admin
Administrateur du site
 
Messages: 434
Inscription: Lun 8 Sep 2008 15:40

Re: Problème de bannière

Messagede full » Mer 3 Mar 2010 09:30

Bonjour Admin, j'ai copié le code et insérer dans ma bio mais un nouveau souci se pose (sinon cela serait pas si marrant). L'image apparait plein champ, au milieu du lecteur mp3, de mon avatar, de la barre perso et de la publicité. Alors que dans l'idéal, j'aurai aimé mettre la photo au dessus de la publicité, pour servir de bannière et ainsi mettre en avant différents événements à venir.
Je vais essayer de bricoler en attendant une piste de vôtre part!
full
 
Messages: 3
Inscription: Ven 26 Fév 2010 11:43

Re: Problème de bannière

Messagede Admin » Jeu 4 Mar 2010 14:28

Bonjour full !

C'est de ma faute, il y a eu un oubli je ne t'ai pas tout donné :oops:

Le code que j'ai posté est bon. Tu doit ajouter dans la balise "body" : margin-top:350 px;

A bientôt
Avatar de l’utilisateur
Admin
Administrateur du site
 
Messages: 434
Inscription: Lun 8 Sep 2008 15:40


Retourner vers Mon myspace

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

cron