Edit: (code précédent snipped, il n'aligné horizontalement)
Comme personne d'autre a obtenu Retour à propos de l'alignement vertical ... Voici une option. Si la forme est juste assis dans le corps, vous ne voulez pas un emballage, etc .. Solution de base (nécessite une hauteur fixe):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Vertical/Horizontal Align</title>
<style type="text/css">
form {
height:400px;
width:400px;
position: absolute;
left: 50%;
top: 50%;
background-color:#CCC;
/* Set margins to offset 50% of the w/h */
margin: -200px 0 0 -200px;
}
</style>
</head>
<body>
<form action="/something">
<p>
<label>NAME: </label> <input type="text" name="Name" />
</p>
<p>
<label>PHONE: </label> <input type="text" name="Phone" />
</p>
</form>
</body>
</html>
couleur de fond est juste pour illustrer la largeur/hauteur ..
Réponse mise à jour pour refléter l'édition. –