Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/02/2009, 06:15
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Cambiar imagen logo,con hover

Sí, mira, es muy sencillito de hacer. Este es el ejemplo

Y este el código:
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
a#logo {display: block;
width: 300px;
height: 87px;
background: #666 url(img/logo.png) no-repeat;
}
a#logo:hover {background: #666 url(img/logovde7completoinvertido.png) no-repeat;
}
</style>
</head>
<body>
<div id="header">
<a href="http://www.compubitweb.com/vde/" id="logo"></a>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org