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
This commit is contained in:
mistic100 2011-04-27 17:54:02 +00:00
commit e96fee5659
2 changed files with 12 additions and 4 deletions

View file

@ -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">

View file

@ -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;
}