Results 1 to 10 of 10

Thread: News Scroller help.

  1. #1
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question News Scroller help.

    Hello, I am using a news scroller that I found here and I would like to know how do you edit the text and link colors. I cant seem to figure it out. I know alot about HTML and CSS, but what ever I try doesn't seem to work.


    I am using the second scoller.

    Thanks for the help!

    News Scroller: http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Something like this should target the links
    Code:
    #pscroller2 a {
        color: red;
    }

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

    Masterchief (02-26-2011)

  4. #3
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    ahh thank you! One more question that I forgot to ask before.

    Can you change the background color?

    Edit: Can you change the background color when you mouseover it?
    Last edited by Masterchief; 02-26-2011 at 05:10 PM.

  5. #4
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    bump.

  6. #5
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Try something like this
    Code:
    #pscroller2 a:hover {
        background: yellow;
    }

  7. #6
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Thats great but is there a way you can make the whole bar highlight not just the text?

    Like a mouseover.

  8. #7
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Code:
    #pscroller2:hover {
        background: yellow;
    }
    This seem to work in firefox, but I'm not sure if it's correct to do it that way, and it may not work in other browsers ?

  9. The Following User Says Thank You to azoomer For This Useful Post:

    Masterchief (02-26-2011)

  10. #8
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Nope. Im using IE and it doesn't work.

  11. #9
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    yeah, I thought so. Sorry, no more ideas right now !

  12. #10
    Join Date
    Feb 2011
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Alright thanks for the 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
  •