zenphoto forums » Usage Support

Image.php Alignment

(2 posts)
  • Started 4 years ago by MasterSaji
  • Latest reply from MasterSaji
  1. MasterSaji

    Apprentice
    Joined: Jan '09
    Posts: 4

    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

    Posted 4 years ago #
  2. MasterSaji

    Apprentice
    Joined: Jan '09
    Posts: 4

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

    <table style="margin-left: auto; margin-right: auto;" align="center" width="900" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0">
    	<tr>
    		<td align="center" valign="top" width="900">

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

    </td>
    	</tr>
    </table>

    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

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.