Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/04/2008, 15:56
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
Re: Un galerìa de imagenes sencilla solo en CSS

Hola, Carxl.

A ver si te gusta esta:

http://www.araudi.net/minigaleria_css.html

Este es el código:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Galeria CSS</title>
<style type="text/css">
* { margin: 0px;
padding: 0px;
outline: 0;
}
a { border: 2px outset rgb(165, 165, 165);
padding: 1px 8px;
text-decoration: none;
color: rgb(0, 0, 0);
cursor: text;
margin-left: 4px;
background-color: rgb(212, 208, 200);
font-size: 13px;
font-family: Arial,Helvetica,sans-serif;
line-height: 22px;
}
a:focus, a:active { background-color: transparent;
border: 2px inset rgb(165, 165, 165);
}
a span {
position: absolute;
top: 50px;
left: 3px;
visibility: hidden;
}
a:focus span, a:active span { visibility: visible;
}
</style>
</head>
<body>
<br />
<a href="#">Foto 1<span><img src="img/2.jpg" /><br />
Cerrar</span></a>
<a href="#">Foto 2<span><img src="img/1.jpg" /><br />
Cerrar</span></a>
<a href="#">Foto 3<span><img src="img/3.jpg" /><br />
Cerrar</span></a>
</body>
</html>
Mikel.