Ver Mensaje Individual
  #10 (permalink)  
Antiguo 31/07/2011, 17:42
Avatar de infiero
infiero
 
Fecha de Ingreso: marzo-2006
Mensajes: 38
Antigüedad: 18 años, 1 mes
Puntos: 3
Respuesta: que el boton se unda

Cita:
Iniciado por polarubi Ver Mensaje
alguna otra ayuda?

tienes que leer un poco el codigo, yo lo puse hover, pero si "active" como hice es cuando clickeas

<style type="text/css">
<!--
.boton {
border: outset 1px #ccc;
}

.boton:active {
border: inset 1px #ccc;
}
*
-->
</style>


Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. <style type="text/css">
  6. <!--
  7. .boton {
  8. border: outset 1px #ccc;
  9. }
  10.  
  11. .boton:active {
  12. border: inset 1px #ccc;
  13. }
  14. *
  15. -->
  16. </head>
  17. *
  18. <input class="boton" type="image" vspace="0" hspace="5" border="0" src="images/d1.png" id="submit"/>
  19. </body>
  20. </html>