ZenphotoCMS Forum
Image.php Alignment - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Image.php Alignment (/thread-4488.html)



Image.php Alignment - MasterSaji - 2009-01-17

Okay, I've tried everything that I know to do (which sadly isn't much)

Anyway, I'm trying to align the image.php to the center in a theme which is a copy of 'default' but no matter what I do, the entire page in hugging the left side. I've looked for margins I may have missed in the CSS, and then I ended up removing all the divs I could find and still it's on the left. You can see what I mean at http://grimforge.com/gallery/index.php?album=masterful-wallpapers&image=twice_broken_heart.jpg

If you need to see the code, just ask.

~Saji




Image.php Alignment - MasterSaji - 2009-01-18

Well I've managed to fix it for now using style="margin-left: auto; margin-right: auto;" in each table, so now it's
`

`
[PHP code for the usual image.php minus the div ID's and classes]

`

`
And I had to do that for each table I have in image.php. Dunno if any that'll help anyone but I'm just putting it out there.

~Saji