PDA

View Full Version : Translucent scroller



code dunce
07-13-2006, 05:13 PM
1) Script Title: Translucent scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/translucentscroll.htm

3) Describe problem: I really love this script but is it possible to change the font attributes somehow please?

For instance, I'd quite like the text to appear in Arial bold and 15px size but, as you can tell from my user name, I haven't got a clue how to do this so could anyone help please?

jscheuer1
07-13-2006, 10:10 PM
Put this style block in the head of the page:


<style type="text/css">
#canvas0, #canvas1 {
font-family:sans-serif;
font-weight:bold;
color:red;
}
</style>

You can use any valid css property/value pairs. To control the links specifically, use a rule set like so inside the same style block:


#canvas0 a, #canvas1 a {
color:black;
font-style:italic;
}

code dunce
07-16-2006, 07:26 AM
Thanks for taking the time to help John, it's much appreciated.