aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-04-27 17:54:02 +0000
committermistic100 <mistic@piwigo.org>2011-04-27 17:54:02 +0000
commite96fee5659cb27a0f55240a44eb2b7ef60fb26c2 (patch)
treec48b326708f572350c11170073c3797e2238b7bb
parentd95ddb7c6146157418f7735995a2b43ef3d2c8fb (diff)
center informations table on first and last picture page
tested with default, sobre, os, pure, luciano, kardon, simple, stripped git-svn-id: http://piwigo.org/svn/trunk@10645 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/picture.tpl2
-rw-r--r--themes/default/theme.css14
2 files changed, 12 insertions, 4 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index f52dc3255..ecfb425f1 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -106,6 +106,7 @@ y.callService(
</div>
+<div id="infosImage">
{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> {* <!-- infosImage --> *}
<hr class="separation">
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 3a19b081a..2f0af02c9 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -355,15 +355,21 @@ TD.calDayHead {
margin: 0 auto;
border: 0;
}
+
+#infosImage {
+ position:relative
+}
-#linkPrev {
- float: left;
+#infosImage #linkPrev {
+ position:absolute;
+ left:0;
margin-right: 10px;
margin-left: 5px;
}
-#linkNext {
- float: right;
+#infosImage #linkNext {
+ position:absolute;
+ right:0;
margin-right: 5px;
margin-left: 10px;
}