Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/01/2011, 10:41
RicardoUY
 
Fecha de Ingreso: septiembre-2010
Mensajes: 62
Antigüedad: 13 años, 6 meses
Puntos: 0
Cambiar color de la fuente del input

Hola necesito una pequeña ayuda, hace rato que vengo probando y mis conocimientos aun son escasos
Quiero cambiar el color de la fuente de este imput ya que los demas parametros ya logré que queden como los necesito

<td with=100 ><span class="Estilo1"><input style="font-size:14px; text-align:center;background-color:#9B0000; " size=20 type = text name="tu_input" class="input" id="tu_input" value='Ingresar a mi cuenta' onClick="mostrarLogin();"></td>

no se la sintaxis que me permite poner la fuente en blanco , gracias por ayudarme!!!


<html>
<head>

<script>
function mostrarLogin(){
document.getElementById('label_usuario').innerHTML = "<font color='white' size='2'><center><b>Usuario</b></center><input type=text id='usuario' size=10>";
document.getElementById('label_pw').innerHTML = "<font color='white' size='2'><center><b>Contraseña</b></center><input type=text id='password' size=10>";
document.getElementById('label_acceder').innerHTML = "<a href='pg3.php'><font color='white' size='2'><b>Acceder</b></a>";
document.getElementById("tu_input").style.display= "none";
}

</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body>

<table width="230" style='background-color:#9B0000'>
<tr>
<td with=100 ><span class="Estilo1"><input style="font-size:14px; text-align:center;background-color:#9B0000; " size=20 type = text name="tu_input" class="input" id="tu_input" value='Ingresar a mi cuenta' onClick="mostrarLogin();"></td>
<td width=100><label name='label_usuario' id='label_usuario'></label></td>
<td width=100><label name='label_pw' id='label_pw'></label></td>
<td width=100><label name='label_acceder' id='label_acceder'></label></td>

</tr>
</table>
</body>
</html>