Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2009, 05:28
miguelcubas
 
Fecha de Ingreso: marzo-2007
Mensajes: 135
Antigüedad: 17 años, 1 mes
Puntos: 0
Pregunta IE hereda pero MZ no

Hola a todos....

tengo un problemilla, por que en IE un INPUT hereda un 'margin'
del nodo padre y en MZ no.

veamos el cod.:

Código:
.row {
	clear:left;
	float:left;
	display:block;
	width:100%;
	margin:6px 0; }
.nft_inputs {
	width:300px;
	height:30px;
	line-height:13px;
	background:transparent;
	border:1px solid #CCC;
	margin:0 0 0 20px;
}
.nft_inputs INPUT {
	float:left;
	width:300px;
	padding:7px 0;
	font-size:13px;
	margin:0px
	border:0;
}


Código:
<div class="row">
	
	<span class="fL"><b>Nombre</b></span>
	<div class="fL nft_inputs">
	
	<input type="text" size="30" maxlength="30" name="nft_name" value="" />
	
	</div>
	
</div>
En IE el INPUT sale con un margen izq. sobre la capa 'nft_inputs'
pero en MZ no.



Gracias.