Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/08/2005, 04:38
jhonyweb
 
Fecha de Ingreso: agosto-2005
Mensajes: 20
Antigüedad: 18 años, 8 meses
Puntos: 0
hola amigo......


a ver si te vale esta modificacion que he hecho a html:

<head>
<style type="text/css">
.boton{
font-size:10px;
font-family:Verdana,Helvetica;
font-weight:bold;
color:white;
background:#638cb5;
border:0px;
width:80px;
height:19px;
}
</style>
<script languaje="javascript">
function cambia_estilo(boton,propiedad,valor)
{
var capa = document.getElementById(boton);
eval("capa.style."+propiedad+"=valor")
}
</script>
</head>
<body>
<div align="center">
<form name="form1" action="http://www.yahoo.es" target="_blank" method="post">
<input type="text" name="prueba"><br><br>
<input id="submit" type="submit" value="enviar" class="boton" onmouseover="cambia_estilo('submit','background',' red')"

onmouseout="cambia_estilo('submit','background','# 638cb5')">
</form>
</div>
</body>


con la funcion javascript cambia_estilo(boton,propiedad,valor) puedes cambiar cualquier estilo en cualquiero boton, ahi he hecho un ejemplo...
espero que te sea util.... si tienes alguna duda con el script agregame al msn:

[email protected]