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>




