View Full Version : Pausing updown message scroller

07-17-2005, 10:01 PM
I am new to this so please bare with me. I am puting together a web page and I am using the "Pausing updown message scroller" and I want to position it in the center of the page how do I do this? Any help would be great.

Thank you

07-17-2005, 10:07 PM
script goes here

07-18-2005, 04:55 AM
Am i still in the stone-age, or is that script supposed to be <p align="..."></p>?

07-18-2005, 07:45 AM

<center></center> is even more stone age than:

<p align="center"></p>

which is a bit behind:

<div align="center"></div>

Do you notice a trend here? The latest, as I understand it (shown here as an illustration, not meant to be precise), would be to have a separate style sheet with something like this on it:

#scrollerDiv {
margin:0 auto;
padding:0 auto;

* html #scrollerDiv { /*use only if needed for ie*/
margin:0 20%;

Then on the page have a nice doctype at the top and a:

<link rel="stylesheet" href="path/filename.css" type="text/css">In the head, pointing to the above file. And finally, these tags around the script:

<div id="scrollerDiv"></div><center></center>

works fine, and will continue to work fine for the foreseeable future. It's stuff like this that makes me laugh at the latest standards and how they are supposed to make life easier for anyone.

Wait until some of our standards junkies from these forums get a load of the above. Sparks may fly . . . :D