PDA

View Full Version : Centering PHP Photo Album script v2.11



carterlangley
12-27-2010, 06:08 PM
1) Script Title: PHP Photo Album script v2.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem: Script is working great! Only thing is I am using a table to center the album on a page, is it possible to use the existing css file to do this? or is there another way? i have tried to center using a div but this didn't work, only centered the page numbers and not the actual album. all ideas or solutions would be great thanks guys/girls!

molendijk
12-27-2010, 08:07 PM
You can center a div, a span etc. by giving it something like:
position: absolute; left:100px; top: 100px; right: 100px; bottom: 100px
===
Arie Molendijk.