Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/05/2014, 08:51
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años, 1 mes
Puntos: 292
Respuesta: Quitar remarcado en rojo de un input

Pues al menos en Chrome se remarca en azul......y sino quieres hacer validaciones con HTML5, hazlas directamente con JS ... investiga sobre eso, jQuery provee funciones que te simplicarian mucho

Te aclaro que parece No poderese sobreescribir esa funcionalidad de resaltado de HTML5:

Código Javascript:
Ver original
  1. <html>
  2. <head>
  3.     <script>
  4.     function descamar_recuadro(input){
  5.             input.setAttribute('style','border:1px solid #CCCCCC;');           
  6.     }
  7.     </script>
  8. </head>
  9.  
  10. <body>
  11. <form action="" method="post" >
  12. <input type="text" name="nombre" class="inputstyle"  placeholder="Nombre" value="" required title="Escriba su Nombre" onfocus="descamar_recuadro(this);"/>
  13.  
  14. <input type="submit" />
  15. </form>
  16.  
  17. </body>
  18. </html>

Por eso te sugiero...no uses required
__________________
Salu2!

Última edición por Italico76; 16/05/2014 a las 08:57