PDA

View Full Version : Resolved How to centre the Presentational Slideshow Script



elim
05-02-2009, 04:16 PM
1) Script Title:
Presentational Slideshow Script

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

3) Describe problem:
havent got a clue how to centre the script, it alligns it to the left all the time

explain clearly as im new to all this thanks, using frontpage 2003

Snookerman
05-02-2009, 04:39 PM
Find this code and add the highlighted:

document.write('<div style="margin: 0 auto; position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden">

Good luck!

elim
05-02-2009, 04:43 PM
doesnt work still in left hand side

Snookerman
05-02-2009, 04:53 PM
Works on the demo page, please post a link to your site. Also, make sure you have a valid doctype.

elim
05-02-2009, 04:58 PM
its not uploaded, its just something im trying on my computer,

elim
05-02-2009, 05:00 PM
my aplogizes, now works

saved and opened it in web browser and is now in centre thanks

Snookerman
05-02-2009, 05:01 PM
You're welcome, glad to help you elim!

Good luck with your site!