CSS Positioning Problem

Phoca Gallery - image gallery extension
timfilms
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 01:36

Re: CSS Positioning Problem

Post by timfilms »

hi. i'm having a similar problem but much worse. i can't even get the theme to display. it flashes up quickly on refresh, but then looks like this. http://timgill.net/stills/stills/category/1 ... please help.

thanks,
tim
savannah, ga
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: CSS Positioning Problem

Post by Jan »

Hi,

konradk
If you want to center float box, you need to make specific centering in html/css (fixed width for the box and margin: 0 auto should be used), e.g.

Code: Select all

<div style="margin: 0pt auto; width: 100%; text-align: center;">
<div style="margin: 0pt auto; width: 400px; text-align: center;"> PLUGIN CODE
</div></div>
timfilms
You should check your template for correctly adding clear:both rules, etc. (e.g. with help of firebug) or check some standard template
If you find Phoca extensions useful, please support the project
timfilms
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 01:36

Re: CSS Positioning Problem

Post by timfilms »

thanks jan for the quick reply. i tried adding clear: both rules to most of the mainbody and elsewhere but it didn't have an effect on the phoca gallery. i was really excited to use this component, but i think that my problem may be a bit difficult to solve remotely. thanks again,
tim
timfilms
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Nov 2009, 01:36

Re: CSS Positioning Problem

Post by timfilms »

I may have solved it Jan! after 2 days. thanks for the template suggestion. Shape five implements "S5 Clear Fix Script" option. this was enabled on my template. i disabled it and it works so far. thanks for the great component!

tim
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: CSS Positioning Problem

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply