Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/11/2011, 00:34
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: poner una imagen al cursor

Lo primero que necesitas es un software para crear cursores (Microangelo)

Despues, css

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>Cursor personalizado</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <style type="text/css">
  7. /*<![CDATA[*/
  8.  
  9. .cuadrado {
  10. cursor: url('flecha.cur'),default;
  11. width: 300px;
  12. height: 300px;
  13. background-color: #504675;
  14. }
  15. /*]]>*/
  16. </head>
  17. <div class="cuadrado">
  18.     Otro cursor
  19. </div>
  20.  
  21. </body>
  22. </html>
Demo:
http://foros.emprear.com/css/cursor/cursor.html

Dos problemas
NO funciona en ópera
Yo dibujando soy un desastre
Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.