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
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>HTML 4.01 strict</title>
<style type='text/css'>form {width:350px;margin:auto;border:3px double;display:table;}
form div {
display:table-cell;/* FF2 */
display:inline-block;/* technique naturelle */
width:49.5%;
vertical-align:middle;
text-align:center}
input {
display:block;
margin:.5em auto;
}
</style>
<!--[if IE]>
<style>
/* inline-block et layout activé pour IE , mode standard */
form div {display:inline;zoom:1;}
</style>
<![endif]-->
</head>
<body>
<form action ="" method="">
<div id="gauche">
<img src="http://decoupe-fr.net/forums/img/avatars/98.jpg" alt="un avatar" >
</div>
<div>
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
<input type="text" value="" />
</div>
</form>
</body>
</html> |