[pmwiki-users] Centering a pagelist

Simon nzskiwi at gmail.com
Mon Sep 10 03:18:30 CDT 2012


customisation = my bad

thanks very much

Simon

On 9 September 2012 23:25, Petko Yotov <5ko at 5ko.fr> wrote:

> Simon writes:
>
>> >>center<<
>> (:pagelist group=Photos fmt=#randomimage name=-HomePage,-Template*,-**RandomImage,-Test*,-Recent*
>> list=normal count=7 px=96 align=center:)
>> >><<
>>
>> But I can't get it to center.
>>
>
> You have a customization which places the thumbnail inside a "thumbdiv"
> element, and in your local.css file, you have set this thumbdiv element to
> float:left. So regardless of your centered div above, it will always be
> left-aligned.
>
> Try to remove the custom thumbdiv element for this page and see if it
> works. Note that I have added to your pagelist the parameter wrap=none,
> because it otherwise inserts an additional div element around the output
> and if it is not defined as centered in your Group.Page.css, the inside
> will again be left-aligned.
>
> Petko
>
>
> ______________________________**_________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/**mailman/listinfo/pmwiki-users<http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120910/0ee521f4/attachment.html>


More information about the pmwiki-users mailing list