Results 1 to 3 of 3

Thread: Cross Browser marquee II modify space between content

  1. #1
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default Cross Browser marquee II modify space between content

    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

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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:
    Code:
    body  { font: 14px verdana, arial, helvetica, sans-serif; margin:auto;width:840px;}
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    http://home.comcast.net/~jscheuer1/side/marquee.htm

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •