Comunidad de diseño web y desarrollo en internet online

Consulta Pseudo Clases

Citar            
MensajeEscrito el 26 Oct 2010 02:12 pm
Hola chicos, les cuento que he implementado una galería de imagenes - con un lightbox - pero no puedo quitarle el bor azul a los thumbs pequeños de la galería, he aplicado las pseudo clases a varias de las etiquetas, pero no puedo quitarle el borde azul en IE y en Mozila. Como verán - en rojo - apliqué la pseudo clase a #lightbox - en css lightbox - pero no funca.
Alguien puede guiarme ???????


Código HTML :

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Consultorios : Home</title>
<style type="text/css">
<!--
body {
   background-color: #51646F;
   margin-left: 0px;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
}
body,td,th {
   font-family: Arial;
}

-->
</style>
<link href="estilos.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

</head>

<body>
<div id="Contenedor">
<div id="Cabecera"><h1>Consultorios</h1>
  <p>Servicio de Consultorios Profesionales</p></div>
  <div id="menu">
<ul>                                              
<li><a href="index.html">Home</a></li>
<li><a href="quienes_somos.html"">Quienes Somos</a></li>
<li><a class="current" href="#"">Galeria</a></li>
<li><a href="contacto.html">Contacto</a></li>
</ul>
</div>
<div id="Contenedor_medio">
<did id="ightbox">
<table width="800" height="300" border="0">
  <tr>
    <td><a href="images/image-2.jpg" rel="lightbox[roadtrip]" title=""><img src="images/thumb-2.jpg" /></a></td>
    <td><a href="images/image-3.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-3.jpg" /></a></td>
    <td><a href="images/image-4.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-4.jpg" /></a></td>
    <td><a href="images/image-5.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-5.jpg" /></a></td>
  </tr>
  <tr>
    <td><a href="images/image-6.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-6.jpg" /></a></td>
    <td><a href="images/image-7.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-7.jpg" /></a></td>
    <td><a href="images/image-8.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-8.jpg" /></a></td>
    <td><a href="images/image-9.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-9.jpg" /></a></td>
  </tr>
  <tr>
    <td><a href="images/image-91.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-91.jpg" /></a></td>
    <td><a href="images/image-92.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-92.jpg" /></a></td>
    <td><a href="images/image-93.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-93.jpg" /></a></td>
    <td><a href="images/image-94.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-94.jpg" /></a></td>
  </tr>
  <tr>
    <td><a href="images/image-95.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-95.jpg" /></a></td>
    <td><a href="images/image-96.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-96.jpg" /></a></td>
    <td><a href="images/image-97.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-97.jpg" /></a></td>
    <td><a href="images/image-1.jpg" rel="lightbox[roadtrip]"><img src="images/thumb-1.jpg" /></a></td>
  </tr>
</table>

</div><!--   Fin contenedor medio   -->

</div><!--   Fin Contenedor   -->
</body>
</html>


CSS

Código :

@charset "utf-8";
/* CSS Document */
h1 {
   font-family: Arial;
   font-size: 28px;
   color: #191919;
   text-decoration: none;
   font-weight: normal;
}
h2 {
   font-family: Arial;
   font-size: 16px;
   font-weight: bold;
   color: #475863;
   text-decoration: none;
}

#Contenedor {
   background-color: #FFF;
   position: absolute;
   height: 750px;
   width: 980px;
   left: 50%;
   top: 50px;
   margin-left: -490px;
   border: 1px solid #333;
   font-family: Arial;
   font-size: 14px;
   font-weight: normal;
   color: #191919;
   text-decoration: none;
}
#Cabecera {
   background-image: url(imagenes/logo.png);
   background-repeat: no-repeat;
   background-position: left;
   text-align: right;
   position: absolute;
   height: 75px;
   width: 390px;
   left: 67px;
   top: 29px;
}
#Cabecera p {
   font-family: Arial;
   font-size: 16px;
   font-weight: normal;
   color: #475863;
   text-decoration: none;
   position: absolute;
   top: 33px;
   width: 320px;
   right: 0px;
}
#menu{
   top: 70px;
   position: absolute;
   font-family: Arial;
   font-size: 16px;
   font-weight: bold;
   color: #475863;
   text-decoration: none;
   left: 574px;
   width: 370px;
}
#menu ul{
   list-style:none;
   display:block;
   margin: 0px;
   padding: 0px;
}
#menu ul li{
   list-style:none;
   display:inline;
   padding:0px;
   margin-top: 0;
   margin-right: 10px;
   margin-bottom: 0;
   margin-left: 10px;
   float: left;
}
#menu ul li a{
   text-decoration:none;
   padding:0px;
   margin:0px;
   color:#485157;
   text-align: center;
}
#menu ul li a:hover{
   text-decoration:none;
   color: #09F;
}
#menu ul li a.current{
   float:left;
   text-decoration:none;
   padding:0px;
   margin:0px;
   color: #09F;
}
#Contenedor_medio {
   position: absolute;
   height: 360px;
   width: 980px;
   background-color: #E4E4D6;
   left: 0px;
   top: 119px;
   background-image: url(imagenes/sombra1.gif);
   background-repeat: repeat-x;
   background-position: bottom;
}
#fadeshow1 {
   position: absolute;
   height: 300px;
   width: 540px;
   left: 66px;
   top: 25px;
}
#texto_1 {
   position: absolute;
   left: 121px;
   top: 65px;
   height: 254px;
   width: 751px;
}
#titulo_1 {
   text-decoration: none;
   position: absolute;
   top: 25px;
   left: 121px;
}
#Contenedor_inferior {
   position: absolute;
   width: 980px;
   top: 485px;
   height: 265px;
}
#titulo_2 {
   font-family: Arial;
   font-size: 16px;
   color: #000;
   text-decoration: none;
   font-weight: normal;
   position: absolute;
   top: 20px;
   left: 121px;
}
#texto_2 {
   font-family: Arial;
   font-size: 14px;
   color: #333;
   font-weight: normal;
   text-decoration: none;
   position: absolute;
   top: 70px;
   left: 121px;
}
#texto_3 {
   font-family: Arial;
   font-size: 14px;
   font-weight: normal;
   color: #333;
   text-decoration: none;
   position: absolute;
   top: 70px;
   left: 525px;
}
#data {
   font-family: Arial;
   font-size: 12px;
   font-weight: bold;
   color: #FFF;
   text-decoration: none;
   position: absolute;
   left: 305px;
   top: 765px;
}
#rod {
   position: absolute;
   left: 981px;
   top: 600px;
   background-image: url(imagenes/link_rod.jpg);
   background-repeat: no-repeat;
   height: 122px;
   width: 19px;
}
#rod a:link {
   text-decoration: none;
}
#rod a:active {
   text-decoration: none;
}
#rod a:hover {
   text-decoration: none;
}
#rod a:visited {
   text-decoration: none;
}


CSS lightbox
[code]#lightbox{
position: absolute;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}

#lightbox a img{
border: none;
text-decoration: none;
}
#lightbox a:active a:visited a:hover a:link {
text-decoration: none;
}

#outerImageContainer{
position: relative;
background-color: #fff;
width: 250px;
height: 250px;
margin: 0 auto;
}

#imageContainer{
padding: 10px;
}

#loading{
position: absolute;
top: 40%;
left: 0%;
height: 25%;
width: 100%;
text-align: center;
line-height: 0;
}
#hoverNav{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
width: 49%;
height: 100%; /* Trick IE into showing hover */
display: block;
background-color: transparent;
background-image: url(images/blank.gif);
background-repeat: no-repeat;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover {
background-image: url(images/prevlabel.gif);
background-repeat: no-repeat;
background-position: left 15%;
}
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
font: 10px Verdana, Helvetica, sans-serif;
background-color: #fff;
margin: 0 auto;
line-height: 1.4em;
}

#imageData{ padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; }

#overlay{
position: absolute;
top: 0;
left: 0;
z-index: 90;
width: 100%;
height: 500px;
background-color: #000;
}


/* Min-Width */
.lbWidth { /* most browsers */
position: absolute;
top: 0px; left: 0px;
width: 100%;
min-width: 790px;
}

* html .lbContent { /* IE6 */
margin-left: -790px;
position:relative;
}

* html .lbMinWidth { /* IE6 */
padding-left: 790px;
}


/* Clearfix */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#lightox, table {
position: absolute;
top: 25px;
left: 90px;
text-decoration: none;
}[code]

Por El Ruso Loco

85 de clabLevel



Genero:Masculino  

Avellaneda. Bs As.

chrome
Citar            
MensajeEscrito el 26 Oct 2010 07:37 pm
En tu html hay un error en el nombre de tiqueta y el ID, dice <did id="ightbox"> y deberia ser <div id="lightbox">

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 27 Oct 2010 05:01 pm
Ah y me parece que ese div que te digo tampoco lo has cerrado, deberia cerrarse luego del </table>

Por drarock

Claber

705 de clabLevel

3 tutoriales

Genero:Femenino  

Lima, Peru

firefox
Citar            
MensajeEscrito el 28 Oct 2010 06:01 pm
Gracias por tu ayuda, un error como estos y casi prendo fuego la pc, has sido muy amable y de mucha ayuda.
Ya he corregido el codigo, quizas es bueno entender que cuando nos nublamos no vemos lo que está frente a nuestros ojos

Por El Ruso Loco

85 de clabLevel



Genero:Masculino  

Avellaneda. Bs As.

chrome

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.