Page 1 of 1
Center plugin in article
Posted: 12 Aug 2009, 15:34
by crood
Hello!
Sometimes when I write an article I put the pictures below the article itself with you phoca gallery plugin. I was wonder how can I center the plugin in the article?
Thanks,
Chris
Re: Center plugin in article
Posted: 14 Aug 2009, 20:19
by Jan
Hi, this should be done by the editor. E.g. you will set fixed width of div and will set other div in this div which will have set : style="margin: 0 auto".
Jan
Re: Center plugin in article
Posted: 15 Aug 2009, 04:05
by crood
Jan,
Thanks for the help
Chris
Re: Center plugin in article
Posted: 15 Aug 2009, 19:09
by Jan
Ok
Re: Center plugin in article
Posted: 07 Sep 2009, 13:40
by ahoy
Hello,
Didn't quite get that. Should this look like:
Code: Select all
<div width=500>
<div style="margin: 0 auto">
{phocagallery view=category|categoryid=7|imageid=270}
</div>
</div>
Re: Center plugin in article
Posted: 08 Sep 2009, 19:30
by Jan
Hi, you should test it and correct your html, if there is some problem. e.g. width="500" or style="width:500px" etc.
Jan
Re: Center plugin in article
Posted: 08 Sep 2009, 19:57
by ahoy
I've just mistyped ... is the structure itself correct?
Re: Center plugin in article
Posted: 12 Sep 2009, 22:44
by Jan
Yes, but it depends on the template too and it depends on the width value too (if the value is too large or too small, it can be ignored in the template - depends on template settings).
Jan
Re: Center plugin in article
Posted: 13 Aug 2010, 15:12
by fnanco
I am really new at this programmingthing...
Im not getting this...
Can someone please help mw with this....
thanks...
http://www.ecoxport.com