View Full Version : Centering Featured content slider

09-05-2008, 07:04 AM
1) Script Title: Featured contentslider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem: i cant seem to align the main div center

i have used text-align: center in all divs


09-05-2008, 04:09 PM
Text alignment is generally not the best way to center elements. In fact, it should for the most part only be used for an element containing text to center that text within that element. We would need to see your page to offer a definite solution. However, in general, if you remove text alignment from the division and its parent elements, give it a specific width, and make its margin:

margin: 0 auto;

That usually works. This requires a valid URL DOCTYPE of HTML 4.01 Transitional or greater. If you want more help:

Please post a link to the page on your site that contains the problematic code so we can check it out.

09-06-2008, 11:19 PM

hi i tested it in this post here

how can i get the thumbs closer together and everything centered?


and where's the prev and next button?