aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-07 12:19:18 +0000
committermistic100 <mistic@piwigo.org>2011-05-07 12:19:18 +0000
commit0cbac27ddbc1116095561864981af4f6f7cf7f57 (patch)
tree2a91d6f016d9903393f9dd435119639d3e8c3b04
parentaff4a5c85ab2eba69c9b76c7f86e75fe66ecb6b4 (diff)
center informations table on first and last picture page (second try)
git-svn-id: http://piwigo.org/svn/trunk@10804 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/picture.tpl2
-rw-r--r--themes/default/theme.css11
2 files changed, 11 insertions, 2 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index f52dc3255..12d020269 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -106,6 +106,7 @@ y.callService(
</div>
+<div id="imageInfos">
{if $DISPLAY_NAV_THUMB}
{if isset($previous)}
<a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
@@ -277,6 +278,7 @@ y.callService(
{/foreach}
</table>
{/if}
+</div>
<hr class="separation">
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 3a19b081a..1c7b075bb 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -356,14 +356,21 @@ TD.calDayHead {
border: 0;
}
+#imageInfos {
+ position:relative;
+ min-height:110px;
+}
+
#linkPrev {
- float: left;
+ position:absolute;
+ left:0;
margin-right: 10px;
margin-left: 5px;
}
#linkNext {
- float: right;
+ position:absolute;
+ right:0;
margin-right: 5px;
margin-left: 10px;
}