Bonjour,

J'ai une page où je veux que mon formulaire soit au milieu de la page. Ca marche sur IE, mais pas sous Firefox. Quelqu'un aurait une petite idée ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> 
<head> 
<title>Titre</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body {
text-align:center;
height:100%;
margin:0pt;
padding:0pt;
width:100%;
}
 
div.AligneCentre {
text-align:center;
}
 
 
-->
</style>
</head>
<body>
<div class="AligneCentre">
<form action="a.php" method="post">
	<table>
		<tr>
			<td>
				Toto
			</td>
			<td>
				<input type="text" name="toto" value=""/>
			</td>
		</tr>
		<tr>
			<td>
				Titi est très content
			</td>
 
			<td>
				<input type="text" name="titi" value=""/>
			</td>
		</tr>
	</table>
</form>
<br />
<a>Milieu</a>
</div>
</body>
</html>