[html] Espacement entre 2 input

Fermé
Vinent - 9 mai 2004 à 17:56
 StreM - 10 mai 2004 à 14:04
Bonjour,

Voici mon code html:
<head>
<style>input{border-width:1px;border-style:solid;}</style>
</head><body>
<input type="text" id="pseudo" name="pseudo" maxlength="25" /><br />
<input type="text" id="passe" name="passe" maxlength="12" />
</body>

Avec Netscape, il y a pas d'espacement entre les 2 champs texte mais avec Internet explorer, il y a 2 pixels d'écart: comment supprimer ces 2 pixels ?

Merci d'avance...
A voir également:

1 réponse

Essaie de creer un tableau sans bordure, avec les balises :
cellspacing=0
cellpadding=0

<table border=0 cellspacing=0 cellpadding=0>
<tr><td><ton 1er input></td></tr>
<tr><td><ton 2eme input></td></tr>
</table>

C'est juste une suggestion...

Sinon, cherche dans les styles CSS, y'a ptetre un truc pour l'alignement genre align:top=0px... je sais plus.
0