PDA

View Full Version : Simple controls gallery image alignment



Neil
10-12-2009, 04:23 PM
1) Script Title: Simple Controls Gallery v1.3

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...plegallery.htm

3) Describe problem:
Is there a simple fix to centre align an image inside the gallery div.
All images are e.g. 480px high but some vary in width.
I've set the gallery div to the max image size (640 x 480) which accomodates 90% of images, but some are narrower (320 x 480) and I would like those ones to be horizontally centred.
Can you help?