Salve a tutti, questo è il mio primo post anche se il forum lo leggo da tempo. Ho un piccolo problema con GreyBox (installato nel mio sito in HTML puro). Penso di aver installato tutto correttamente e sembra fuzionare tutto ma la barra di navigazione di GreyBox presenta i pulsanti (next e prev) non centrati e nemmeno allineati. (screenshot: img39.imageshack.us/img39/7241/screengb.jpg) E' un problema relativo a gb_styles.css ? Grazie per un eventuale aiuto!
Roberto
Pagina HTML:
<head>
....
<link href="../stile-2008-home.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var GB_ROOT_DIR = "../greybox/";
</script>
<script type="text/javascript" src="../greybox/AJS.js"></script>
<script type="text/javascript" src="../greybox/gb_scripts.js"></script>
<script type="text/javascript" src="../static_files/help.js"></script>
<link href="../greybox/gb_styles.css" rel="stylesheet" type="text/css" />
</head>
Links associati:
<ul>
<a class="a-verde" title="Antenne più corte del corpo"> <strong>ACRIDIDAE</strong> </a>
<li><a class="a-grigio" rel="gb_pageset[ort]" title="Acrida ungarica mediterranea" href="linnea.it/orthoptera-cavallette-grilli/acrida-ungarica.php">Acrida ungarica mediterranea</a> </li>
<li><a class="a-grigio" rel="gb_pageset[ort]" title="Acrotylus patruelis" href="linnea.it/orthoptera-cavallette-grilli/acrotylus-patruelis.php">Acrotylus patruelis</a> </li>
... etc.
</ul>
gb_styles.css
#GB_overlay {
background-color: #000;
position: absolute;
margin: auto;
top: 0;
left: 0;
z-index: 100;
}
#GB_window {
left: 0;
top: 0;
font-size: 1px;
position: absolute;
overflow: visible;
z-index: 150;
}
width: auto;
margin: 0;
padding: 0;
}
#GB_frame {
border: 0;
margin: 0;
padding: 0;
overflow: auto;
white-space: nowrap;
}
.GB_Gallery {
margin: 0 22px 0 22px;
}
.GB_Gallery .content {
background-color: #fff;
border: 3px solid #ddd;
}
.GB_header {
top: 10px;
left: 0;
margin: 0;
z-index: 500;
position: absolute;
border-bottom: 2px solid #555;
border-top: 2px solid;
}
.GB_header .inner {
background-color: #333;
font-family: Arial, Verdana, sans-serif;
padding: 2px 20px 2px 20px;
}
.GB_header table {
margin: 0;
width: 100%;
border-collapse: collapse;
}
.GB_header .caption {
text-align: left;
color: #eee;
white-space: nowrap;
font-size: 20px;
}
.GB_header .close {
text-align: right;
}
.GB_header .close img {
z-index: 500;
cursor: pointer;
}
.GB_header .middle {
white-space: nowrap;
text-align: center;
}
#GB_middle {
color:;
}
cursor: pointer;
vertical-align: middle;
}
cursor: default;
}
padding-right: 10px;
}
padding-left: 10px;
}
.GB_Window .content {
background-color:;
border: 3px solid #ccc;
border-top: none;
}
.GB_Window .header {
border-bottom: 1px solid #aaa;
border-top: 1px solid #999;
border-left: 3px solid;
border-right: 3px solid;
margin: 0;
height: 22px;
font-size: 12px;
padding: 3px 0;
color:;
}
.GB_Window .caption {
font-size: 12px;
text-align: left;
font-weight: bold;
white-space: nowrap;
padding-right: 20px;
}
.GB_Window .close { text-align: right; }
.GB_Window .close span {
font-size: 12px;
cursor: pointer;
}
.GB_Window .close img {
cursor: pointer;
padding: 0 3px 0 0;
}
.GB_Window .on { border-bottom: 1px solid; }
.GB_Window .click { border-bottom: 1px solid red; }