View Full Version : Simple Gallery : How to center the image

05-01-2009, 05:11 AM
1) Script Title: Simple Gallery

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

3) Describe problem:

Can you please show me how to center an image both vertically and horizontally in Simple gallery. I have images of different sizes that will be displayed. I can guarantee that they are smaller or have the same width or height of the gallery area. Usually they are either portrait or landscape rectangles and it would be really nice to center them. But I have tried all the centering tricks that I know and found on the web and they don't seem to work here. So if you can help me, I will really really appreciate it.



05-06-2009, 03:43 AM
Hi! I'm new in web designing and I also need help regarding about your problem in the simple gallery. I'm also fond about the simple gallery, I've been studying it since yesterday. I found a way to move the images but I can't make all the images move to the center. I just like to know if you already found a way on how to move all images to the center?