Pictures shown to the left

Phoca Gallery modules - modules for Phoca Gallery extension
tapaza80
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 May 2009, 11:00

Pictures shown to the left

Post by tapaza80 »

How can i make the picture to be shown in center of the module (see attached)?
I have not done any adjustments in the CSS.

Thx!

<h3>Blandade bilder</h3>
<div id="phocagallery-module-ri" style="text-align: center;">


<center><div class="phocagallery-box-file" style="height: 100px; width: 120px; float: left;">
<center>
<div class="phocagallery-box-file-first" style="height: 100px; width: 100px;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<center>

<a class="modal-button" title="dscn1437" href="/images/phocagallery/Resor/thumbs/phoca_thumb_l_dscn1437.jpg" rel="{handler: 'image', size: {x: 200, y: 150}, overlayOpacity: 0.3, classWindow: 'phocagallery-random-window', classOverlay: 'phocagallery-random-overlay'}">
<img src="/./images/phocagallery/Resor/thumbs/phoca_thumb_m_dscn1437.jpg" alt="dscn1437" width="100" height="100"></a></center>
</div>
</div>
</div>
</center>
</div></center>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pictures shown to the left

Post by Jan »

Hi, this depends on the template mostly, try to set some fixed width in the module (last parameter, I think), e.g. to 140px. When there is a fixed width, it can be centered then.

Jan
If you find Phoca extensions useful, please support the project
Post Reply