Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/05/2007, 16:33
bambanx
 
Fecha de Ingreso: agosto-2006
Mensajes: 113
Antigüedad: 17 años, 8 meses
Puntos: 1
centrado de textfield

Hola a todos , no consigo centrar los textfield que tengo en un formulario , me gustaria que los label quedaran alineados a las izq y las cajas de texto quedaran ordenadas igual , cuando le pongo centrar a la izq solo quedan alineados los labels pero las cajas de texto no .
mi codigo es este :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
.fondform {background:url(images/fon_form_gris.jpg);}








</style>
</head>

<body>
<p align="center"><img src="images/flyer.jpg" width="650" height="367" /><br />
</p>
<div align="center">
<table width="800">
<tr>
<td width="94">&nbsp;</td>
<td width="596"><form id="form1" name="form1" method="post" action="">
<p class="fondform"> <br />
<label>Nombre
<input name="nombre" type="text" id="nombre" size="50" />
</label>
<br />
<br />
<label>Telefono
<input type="text" name="telefono" id="telefono" />
</label>
<br />
<br />
<label>E-mail
<input type="text" name="mail" id="mail" />
</label>
<br />
<br />
<br />
<br />
<br />
</p>
</form>
</td>
<td width="94">&nbsp;</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>


gracias.