en adaptant le script trouvé, j'ai fait ça
[cpp]<html>
<head>
<script type="text/javascript">
function doResize(o, w, h){
obj = document.getElementById(o);
if (w>0)
obj.style.width = w;
if (h>0)
obj.style.height = h;
}
function incSize(o, w, h){
obj = document.getElementById(o);
doResize(o, parseInt(obj.style.width) + w, parseInt(obj.style.height) + h);
}
function hideObj(o){
obj = document.getElementById(o);
if (obj.style.visibility=="visible")
obj.style.visibility = "hidden";
else if (obj.style.visibility=="hidden")
obj.style.visibility = "visible";
}
</script>
</head>
<body>
<form>
<input id="t" type="text" value="je vois rien de ce qui est affiché
" style="width:100px;height:22px;visibility:visible">
<br>
<input type="button" value="[ + largeur ]" onclick="incSize('t',+10,0)">
<input type="button" value="[ - largeur ]" onclick="incSize('t',-10,0)">
<input type="button" value="[ + hauteur ]" onclick="incSize('t',0,+5)">
<input type="button" value="[ - hauteur ]" onclick="incSize('t',0,-5)">
<input type="button" value="[ cacher/afficher]" onclick="hideObj('t')">
</form>
</body>
</html>[/cpp]
ca devrait marcher sous IE5 et superieur ainsi que NS6 et superieur...