Je place donc une classe css, avec overflow :
echo "#overtruc{margin:0px; overflow:auto; width:100%; height:97%; z-index:1; text-indent: 0; text-align: justify; scrollbar-face-color:#990000;}\n";
Dans le code, l'appel à overflow donne quelque chose comme :
CODE
// MILIEU CENTRAL
echo "\t\t<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\" height=\"85%\" width=785px>\n\t\t<tr>\n\t\t<td align=center valign=top>\n\t\t\t\t\t\t";
echo "<div id=\"overtruc\">\n";
echo $content_text;
echo "</div>\n";
echo "<img src=./images/espaceur.gif height=0px width=775px>\n";
echo "\n\t\t</td>\n\t\t</tr>\n\t\t</table>\n";
// FIN MILIEU CENTRAL
echo "\t\t<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\" height=\"85%\" width=785px>\n\t\t<tr>\n\t\t<td align=center valign=top>\n\t\t\t\t\t\t";
echo "<div id=\"overtruc\">\n";
echo $content_text;
echo "</div>\n";
echo "<img src=./images/espaceur.gif height=0px width=775px>\n";
echo "\n\t\t</td>\n\t\t</tr>\n\t\t</table>\n";
// FIN MILIEU CENTRAL
Seulement, si l'overflow prend bien les dimensions requises pour IE, il n'arrive pas à dépacer le centimètre pour firefox. Comment faire pour que la fenètre overflow fasse environ 785px de haut ?
merci