Results 1 to 2 of 2

Thread: Dhtml Ticker Script Help!!

  1. #1
    Join Date
    Mar 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dhtml Ticker Script Help!!

    :-) Hello! I'm having problems with CSS and a particular script I really want to implement on my site:
    http://www.dynamicdrive.com/dynamici...eneraltick.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!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hi:
    The CSS "font" and "color" attributes are what you need, something like:

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

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
  •