Bonjour,
J'ai un petit soucis avec un tableau, car les personnes de l'entreprise n'ont pas toutes les memes résolutions donc j'aimerais arranger sans.
J'ai deja commencé par redimensionner le tableau mais maintenant j'aimerais que lorsque j'ajoute une donnée le tableau s'agrandisse...
voici le code:
<table width="100%" border="0">
<tr>
<td align="left" nowrap class="outer_table_heading">
Début de la semaine: <? echo strftime("%A %d %B %Y",mktime(0,0,0,$startMonth, $startDay, $startYear)); ?>
</td>
<td>
<input id="bouton_client" type="button" class="bouton" value="Client" onClick="display('client');">
<input id="bouton_projet" type="button" class="bouton" value="Projet" onClick="display('projet');">
</td>
<td align="right" nowrap>
<a href="<? echo $_SERVER["PHP_SELF"]; ?>?proj_id=<?echo $proj_id; ?>&task_id=<? echo $task_id; ?>&year=<?echo $previousWeekYear ?>&month=<? echo $previousWeekMonth ?>&day=<? echo $previousWeekDay ?>&nom_client=<? echo $filtre_cli ?>&nom_projet=<? echo $filtre_proj ?>" class="outer_table_action">Semaine précédente</a> /
<a href="<? echo $_SERVER["PHP_SELF"]; ?>?proj_id=<? echo $proj_id; ?>&task_id=<? echo $task_id; ?>&year=<? echo $nextWeekYear ?>&month=<? echo $nextWeekMonth ?>&day=<? echo $nextWeekDay ?>&nom_client=<? echo $filtre_cli ?>&nom_projet=<? echo $filtre_proj ?>" class="outer_table_action">Semaine suivante</a>
</td>
<td align="right" nowrap>
<input type="button" class="bouton" name="saveButton" id="saveButton" value="Sauver modifications" onClick="submit();">
</td>
</tr>
<tr>
<td>
<?php
if($filtre_cli=="%") {
if($filtre_proj=="%") {
echo "Aucun filtre.";
}
else {
echo "Client : Tous > Projet : <font color=\"red\">".$filtre_proj."</font>";
}
}
else if($filtre_proj=="%") {
echo "Client : <font color=\"red\">".$filtre_cli."</font> > Projet : Tous";
}
else {
echo "Client : <font color=\"red\">".$filtre_cli."</font> > Projet : <font color=\"red\">".$filtre_proj."</font>";
}
?>
</td>
<!--<td>
<input type="button" class="bouton_note" onClick="display('note_voir');"> Voir/Masquer notes
</td>-->
</tr>
</table>
Si quelqu'un pouvé me dir comment faire.........
Merci