PDA

View Full Version : Centering "Ultimate Fade In" on the web page



pgallagher
10-30-2009, 03:36 PM
1) Script Title: "Ultimate Fade In"

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: I created a web page using the Slide Show "Ultimate fade in and it looks great and behaves properly with one exception, I can't get the slide show to CENTER on the webpage. Anyone have any ideas on how to accomplish this?

Thanks!!

Nile
10-30-2009, 03:44 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

jscheuer1
10-31-2009, 05:05 AM
Nile is right in requesting a link to your live page because we cannot realistically know what your existing code is like, and that would influence how this question should be answered.

However, in an effort to save us all a bit of time, if your page has a valid URL DOCTYPE, the way to center anything within its parent element is to give it a style of margin: 0 auto;

So, for example, if your slide show is shown in this element:


<div id="fadeshow1"></div>

You may:


<div id="fadeshow1" style="margin: 0 auto;"></div>

or apply that style to that element via your stylesheet.

Back to Nile's wisdom, 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.