View Full Version : Centering pausing up and down scroller

12-30-2008, 11:36 PM
1) Script Title: Pausing up and down scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

3) Describe problem: I want to know how to center this scroller in on my Frontpage 2003 website page. It displays on the left side of the page as currently written.


12-31-2008, 05:38 AM
width: 200px;
height: 100px;
border: 1px solid black;
padding: 5px;
background-color: lightyellow;
margin: 0 auto;

The above will work for all browsers. However, for IE to recognise this style's meaning, you must have a valid URL DOCTYPE of:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

or greater.

Depending upon the rest of your markup/layout, there could also be other issues. 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.