PDA

View Full Version : center album photo



djcrackwood
03-21-2012, 01:52 AM
1) Script Title:
Image Gallery ( photo album )
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm
3) Describe problem:

Hello everyone, i just can't figure out how to "center" this album photo


in the css there is a : Float: left;

well .. usually i can easy customize simple scripts like that ... but ... shame on me ... im unable to center this album photo ...

plz help

djcrackwood
03-24-2012, 08:55 PM
ok did it my self ... couldnt do it in css so i used a table in the page

<table width="100%" border="0">
<tr>
<td width="9%"></td>
<td width="86%"><?php include("photoscript.php"); ?></td>
<td width="5%"></td>
</tr>
</table>

.. if someone had the same issue

keyboard
03-24-2012, 11:02 PM
Just a warning - I'm not actually helping with the question.
You shouldn't use tables for the layout of your page. There are a whole pile of reasons (go google it).
Try using divs and css instead.

As to the actual question, could you please post the code for your page, or a link to your page, so we can see what you've tried.