Tema: input css
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 15/09/2010, 13:57
Avatar de catpaw
catpaw
 
Fecha de Ingreso: mayo-2010
Ubicación: xalapa
Mensajes: 856
Antigüedad: 13 años, 11 meses
Puntos: 23
Respuesta: input css

Gracias por sus respuestas...

The Dark03 probe lo que me pones y no me respeta el estilo, aqui pongo el css completo que manejo para la tabla:

Código:
#tabla_res{
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	background-color:#ffffff;
                border-style:dashed;
                border-color:#8688BE;
                border-width:1px;
                border-collapse: collapse;
}

#tabla_res caption{
	background-color:#669;
                color:white;
                border-style:dashed;
                border-width:1px;
                border-color:#8688BE;
                font-weight: bold;
	font-size: 14px;
	padding: 5px;
}

#tabla_res th{
	background-color:#C0C2E7;
	padding: 3px;
	font-weight: normal;
	font-size: 13px;
	color: #339; 
  	border-style:solid;
  	border-width:1px;
  	border-color:white;
  	text-align:center;
}

#tabla_res td{
	background-color:#EAEBF9;
	padding: 3px;
	font-weight: normal;
	font-size: 12px;
	color: #669; 
  	border-style:solid;
  	border-width:1px;
  	border-color:white;
  	text-align:center;
}

#table_res td input[type=textbox]{
	text-align: center; 
	background:#EAEBF9;
	margin: 0 auto;
}
Veras que puse algo del codigo que me facilitaste pero no lo hace, aca mi tabla html:

Código HTML:
<table align="center" id="tabla_res" style="width:400px; table-layout:fixed;">
 <caption>Trabajador que Aurtoriza</caption>
 <tr>
   <th>RPE:</th>
   <td><input type="text" size="6" maxlength="5" value="$rpeAX" name="rpeaaa" id="rpeaaax" onClick="javascript: anone='2'; this.focus();" onKeyUp="javascript: this.value=this.value.toUpperCase();" onKeyPress="javascript: enter();" onBlur="javascript: this.value=this.value.toUpperCase();"/></td>
 </tr>
 <tr>
   <th>Nombre:</th>
   <td><?PHP echo $empAX ?></td>
 </tr>
</table> 
Hay esta mi input y no toma el estilo que le pongo en el css, la tabla si...