PDA

View Full Version : Cross Browser marquee II modify space between content



printman55
12-11-2008, 02:42 AM
1) Script Title: Cross Browser marquee II

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

3) Site URL's
http://www.allenewing.com/index-test-center.htm
http://www.allenewing.com/index.htm

3) Describe problem:
I have intergrated the code into the page #3. first URL above. There is a long space between when the content is completed and when it restarts. I was wondering if there is a way to make it more like the #3. second URL above. The #3. second URL does not allow for centering the site on the browser. This is the reason I'm searching for code that allows for centering. I really like the simplicity of your code and wonder if it could be modified to be similar to the #3. second URL, but allowing for centering the page in the browser.
Thanks,
Steve

rangana
12-11-2008, 02:51 AM
If you mean to center the page, then this is not a JS problem, instead a CSS one.

With that said, see if adding highlighted helps:


body { font: 14px verdana, arial, helvetica, sans-serif; margin:auto;width:840px;}

jscheuer1
12-11-2008, 05:34 AM
http://home.comcast.net/~jscheuer1/side/marquee.htm

Use your browser's 'view source' to get the code.