Thanks Doze for your answer.
Yes i use Mollio template. I got the source code from
http://www.modxcms.com/Mollio-template-package-731.html
Here is my main.css file (extract related to thumbnails) :
.thumbnail {margin: 0 0 0 10px;position:relative;z-index:9999;border: 1px solid #eee;float:right;width:100px;padding:5px;background:#fff}
.thumbnail img {border: 1px solid #000}
And here is the source code of the page :
<!-- --><!-- --><!-- --><!-- --><table class="galleria" border="0" width="100%"><tr>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn4035.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn4035.JPG" class="thumbnail" title="Samovar » Click to zoom ->" alt="Samovar » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn4039.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn4039.JPG" class="thumbnail" title="Lac Baikal » Click to zoom ->" alt="Lac Baikal » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn4064.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn4064.JPG" class="thumbnail" title="Maison de Listvianska » Click to zoom ->" alt="Maison de Listvianska » Click to zoom ->" /></a>
</td></tr><tr>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn4111.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn4111.JPG" class="thumbnail" title="Avec zvieta » Click to zoom ->" alt="Avec zvieta » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn4225.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn4225.JPG" class="thumbnail" title="Papparazi » Click to zoom ->" alt="Papparazi » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><a href="http://127.0.0.1/modx/assets/galleries/48/dscn3882.JPG" rel="lightbox"><img src="assets/galleries/48/tn_dscn3882.JPG" class="thumbnail" title="Sur la place rouge » Click to zoom ->" alt="Sur la place rouge » Click to zoom ->" /></a>
</td></tr></table>
I got your css file (
http://www.netguru.fi/modx/assets/templates/mollio/css/main.css). I found the following lines related to thumbnails (and close to my own css definition for thumbnails) :
.thumbnaili {margin: 0 0 0 10px;position:relative;z-index:9999;border: 1px solid #eee;float:right;width:100px;padding:5px;background:#fff}
.thumbnaili img {border: 1px solid #000}
and the source code of the page
http://www.netguru.fi/modx/maxigallery-slidebox.html is :
<table class="galleria" border="0" width="100%"><tr>
<td align="center" style="width:33%"><br /><p class="slidebox"><a href="http://www.netguru.fi/modx/assets/galleries/15/cat_0041.jpg" rel="lightbox_assets/galleries/15/gallery"></p><img src="assets/galleries/15/tn_cat_0041.jpg" class="thumbnail" title="Test title for pic 1 » Click to zoom ->" alt="Test title for pic 1 » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><p class="slidebox"><a href="http://www.netguru.fi/modx/assets/galleries/15/cat_0037.jpg" rel="lightbox_assets/galleries/15/gallery"></p><img src="assets/galleries/15/tn_cat_0037.jpg" class="thumbnail" title="Pic 2 » Click to zoom ->" alt="Pic 2 » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><p class="slidebox"><a href="http://www.netguru.fi/modx/assets/galleries/15/cat_0038.jpg" rel="lightbox_assets/galleries/15/gallery"></p><img src="assets/galleries/15/tn_cat_0038.jpg" class="thumbnail" title=" » Click to zoom ->" alt=" » Click to zoom ->" /></a>
</td></tr><tr>
<td align="center" style="width:33%"><br /><p class="slidebox"><a href="http://www.netguru.fi/modx/assets/galleries/15/cat_0039.jpg" rel="lightbox_assets/galleries/15/gallery"></p><img src="assets/galleries/15/tn_cat_0039.jpg" class="thumbnail" title=" » Click to zoom ->" alt=" » Click to zoom ->" /></a>
</td>
<td align="center" style="width:33%"><br /><p class="slidebox"><a href="http://www.netguru.fi/modx/assets/galleries/15/cat_0040.jpg" rel="lightbox_assets/galleries/15/gallery"></p><img src="assets/galleries/15/tn_cat_0040.jpg" class="thumbnail" title=" » Click to zoom ->" alt=" » Click to zoom ->" /></a>
</td></tr></table>
Why have you defined thumbnail
i classes ? and why do you use
Thumbnail (instead of thumbnail
i) classes in the code ? What are the difference between these two classes ? What should be the correct writing of the
thumbnail css definition ?
my own css definition for thumbnail has a z-index parameter with 9999 value. So what could be wrong ?
Sorry for my request, but i do not understand how i could fix this issue. Thanks for your help.