Results 1 to 3 of 3

Thread: center the script and make it simple

  1. #1
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default center the script and make it simple

    1) Script Title: gAjax RSS Ticker example one

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...xrssticker.htm

    3) Describe problem: ┐How can I make the script be centered in the page and erase the border and the color of the background?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,889
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    You should be able to do this just by editing the CSS of the script. Assuming your DIV carries the ID "example1" for example, the code in red in your CSS should center it plus erase the border:
    Code:
    #example1{ /*Demo 1 main container*/
    width: 450px;
    height: 28px;
    border: 0 solid black;
    padding: 4px;
    background: white;
    margin: auto;
    }
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    morfer (12-23-2009)

  4. #3
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    thank you very much...I forgot the CSS was in the same HTML inserted, so thanks for your useful help.


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
  •