View Full Version : Center the Simple Gallery???

07-29-2009, 08:07 PM
1) Simple Controls Gallery v1.3

2) http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

3) How do I center the simple gallery on the page??:confused: Is there a special code? I tried just <div align="center" id="simplegallery1"></div> but it didnt work. Anyone know how to center it? :cool:

07-30-2009, 06:16 AM
The slideshow is a little difficult to center, since its outermost DIV is relatively positioned. One thing you can try is "margin: auto", added inside this DIV. For example:

<div id="simplegallery1" style="margin:1em auto;"></div>