J'ai voulu faire un tableau avec ce code :
A bon programmeur, salut
Modifié par Igor (01 Jul 2005 - 11:55)
<div id="fiche_societe">
<div id="fiche_haut">
<div style="float:left; margin-top:10px; margin-left:20px; ">%%logo%%</div>
<div style="float:none; margin-top:10px; margin-right:145px; color:#000000; font-weight:bold">%%nom_societe%%</div>
</div>
<div id="fiche_centre">
<div style="width:200px; margin-left:20px; margin-top:20px; float:left; ">%%photo1%%</div>
<div class="fiche_coord">
%%adresse_societe%% <br />
%%nom_ville%%<br />
Tél. <b>%%telephone_societe%%</b><br />
Fax : <b>%%fax_societe%%</b><br />
Mobile : <b>%%mobile_societe%%</b><br />
<a href="mailto:%%email_societe%%">%%email_societe%%</a><br />
<a href="%%web_societe%%" target="_blank">%%web_societe%%</a><br />
<b>Horaire :</b> <br />
%%horaire_societe%%
</div><br />
<div class="fiche_coord">
%%description_societe%% <br />
<b>Commentaire : </b> <br />
%%divers_societe%%
</div>
<div class="fiche_descom">%%photo2%%</div>
</div>
<div id="fiche_bas">
<div style="margin-left:20px;"><b>Secteur d'activité :</b> %%tableau_secteur%% </div>
</div>
</div>
Tout se passe bien jusqu'à : %%description_societe%% où il n'y a plus de fond sur IE et où tout est décalé, de plus le bas de la fiche est en haut de la page. Par ailleurs, le fond du centre de la fiche ne se répète pas sur FF alors que je lui ai dit repeat-y !!
Si quelqu'un pouvait me venir en aide, ce serait sympa ! Je joins tout de même le code CSS :
#fiche_societe {
margin-left: 20px;
width:514px;
_width:514px;
height:auto;
}
#fiche_haut {
width:514px;
_width:514px;
height:50px;
_height:50px;
position:relative;
float:none;
background-image:url(gifs/camargue-fiche-haut.gif);
background-repeat:no-repeat;
}
#fiche_centre {
width:514px;
_width:514px;
float:none;
position:relative;
background-image:url(gifs/camargue-fiche-centre.gif);
background-repeat:repeat-y;
}
#fiche_bas {
width:514px;
_width:514px;
height:41px;
_height:41px;
float:none;
background-image:url(gifs/camargue-fiche-bas.gif);
background-repeat:no-repeat;
}
.fiche_coord {
width:200px;
_width:200px;
font-family: Arial, Helvetica, sans-serif;
margin-top:30px;
font-size: 11px;
color: #000000;
float:right;
}
.fiche_descom {
font-family: Arial, Helvetica, sans-serif;
margin-left:20px;
font-size: 11px;
color: #000000;
clear:both;
}
A bon programmeur, salut

Modifié par Igor (01 Jul 2005 - 11:55)