Results 1 to 4 of 4

Thread: Pausing updown message scroller

  1. #1
    Join Date
    Jul 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing updown message scroller

    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

  2. #2
    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

    <center>
    script goes here
    </center>
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Am i still in the stone-age, or is that script supposed to be <p align="..."></p>?
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  4. #4
    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

    Ian,

    <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:
    Code:
    #scrollerDiv {
    margin:0 auto;
    padding:0 auto;
    text-align:center;
    }
    
    * html #scrollerDiv { /*use only if needed for ie*/
    margin:0 20%;
    }
    Then on the page have a nice doctype at the top and a:
    HTML Code:
    <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:
    HTML Code:
    <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 . . .
    - 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
  •