Ciao, dovrei allineare gli input in un form, come fare?
Codice PHP:
<html>
<head>
<style type="text/css">
#form {
width: 250px;
color: blue;
font: 12px bold Verdana;
}
input {
border: 1px dashed blue;
background: white;
height: 25px;
color: blue;
font: 12px bold Verdana;
height: 20px;
}
.tasto {
border: 1px solid blue;
}
</style>
</head>
<body>
<form id="form">
Nome <input type="text" name="nome">
Cognome <input type="text" name="cognome">
Password <input type="password" name="pass">
Password <input type="password" name="pass2">
Email <input type="text" name="mail">
<input type="submit" name="sub" value="Invia dati" class="tasto">
<input type="reset" name="reset" value="Resetta" class="tasto">
</form>
</body>
</html>
ho provato aggiungendo position: absolute; e left: 80px; ma se cambio browser o pc mi scazza il layout.