Log in

View Full Version : News Scroller help.



Masterchief
02-25-2011, 11:59 PM
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

azoomer
02-26-2011, 12:14 AM
Something like this should target the links


#pscroller2 a {
color: red;
}

Masterchief
02-26-2011, 02:19 AM
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?

Masterchief
02-26-2011, 08:36 PM
bump.

azoomer
02-26-2011, 08:47 PM
Try something like this

#pscroller2 a:hover {
background: yellow;
}

Masterchief
02-26-2011, 09:10 PM
Thats great but is there a way you can make the whole bar highlight not just the text?

Like a mouseover.

azoomer
02-26-2011, 09:28 PM
#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 ?

Masterchief
02-26-2011, 09:55 PM
Nope. Im using IE and it doesn't work.

azoomer
02-26-2011, 10:01 PM
yeah, I thought so. Sorry, no more ideas right now !

Masterchief
02-26-2011, 10:41 PM
Alright thanks for the help!