[CSS] Bug IE, redimensionnement d'une zone de saisie
Bonjour,
Quelqu'un sait-il pourquoi ce code HTML produit un bug innatendu sous IE 6(pas sous Firefox bien entendu, où là ça marche très bien) ?
Si vous regardez bien la zone va se rallonger dès que vous taper un caractère..
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <html>
<head>
<style>
.encadre
{
width:100%;
}
.zoneCommentaire
{
margin-left: 2em;
margin-right: 2em;
margin-top: 0.8em;
margin-bottom: 0.8em;
}
</style>
</head>
<body>
<div class="encadre" style="MARGIN-TOP: 8px" runat="server">
<strong>Commentaires</strong>
<div class="zoneCommentaire">
<textarea rows="4" style="width:100%"></textarea>
</div>
</body>
</html> |
Merci