PDA

View Full Version : Dhtml Ticker Script Help!!



invogue
03-20-2006, 05:33 PM
:-) Hello! I'm having problems with CSS and a particular script I really want to implement on my site:
http://www.dynamicdrive.com/dynamicindex2/generaltick.htm

I'm a beginner when it comes to CSS markup but I've tried just about every possible way to change the font and style attributes of the ticker-text with absolutely NO joy!!

I've opted for the first example given and managed to give it an orange background with a red solid border, but no matter what I do the text within the ticker remains as Times New Roman/Serif with no Bolding or formatting whatsoever.
I simply want to make the text (there are no links) a dark red colour, in ARIAL, and in BOLD...... Is it something to do with the ".someclass" attribute, and if so, how do I set it up to actually work!?

Any help would be greatly appreciated!!! Thanks!

ddadmin
03-20-2006, 08:37 PM
Hi:
The CSS "font" and "color" attributes are what you need, something like:


#domticker{
font: bold 100% Arial;
color: darkred;
width: 200px;
height: 100px;
border: 1px dashed black;
padding: 5px;
background-color: #FFFFCA;
}