Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cross Browser marquee - CSS Font color

    Hi,

    i tried everything, but css colordefinitions for the scroller-text (normal and links) doesnt semm to work.

    Anybody have a solution for this problem (xhtml 1.1 dtd).

    THX!!!!
    muckinger

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If it's xhtml 1.1 then it should not have a marquee tag. Maybe you should be using a different Doctype.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thx fpr your answer, but the script "Cross Browser marquee" from dynamicdrive doesnt use the marquee, for ie its div and for ns layer.

    And the problem is NOT, that the scrolling isnt working, the problem is that i can not format the text in the scroller with stylesheets......

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    var marqueecontent='<nobr><span class="someClass">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a> If you find this script useful, please consider linking to us by <a href="../link.htm">click here.</a> Enjoy your stay!</span></nobr>'
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #5
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    THX glenngv,

    i tried to put the style EVERYWHERE, also direkt in the variable marqueecontent ...... it doesent work. I have defined a <body>-style with text-formating, and the Ticker-Text gets only this information, not the styles i wrote direkt into the Text or the nesting tags :-(

  • #6
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    can you show us how you modified it? only the related parts
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #7
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I modified nothing in the script, i tried only to put css-style to the text. example:
    var marqueecontent='<nobr><span class="com_ticker">Thank you for visiting <a href="http://www.dynamicdrive.com" class="com_ticker">Dynamic Drive.</a> If you find this script useful, please consider linking to us by <a href="../link.htm" class="com_ticker">click here.</a> Enjoy your stay!</span></nobr>'

    as i said, i tried it with "class", "style" direkt, and in every place it can go (the 3 existing div´s)...

    i´m getting crazy.....

  • #8
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Works for me...

    <head>
    <style type="text/css">
    .com_ticker {font:normal 12px Verdana; color:red}
    </style>
    </head>

    maybe your style definition is wrong.
    Last edited by glenngv; 09-30-2003 at 10:34 AM.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #9
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thx a lot, your style works!

    this style doesn´t work:
    .com_ticker {
    font-size: 8pt;
    font-weight: bold;
    font-color: #ff0000;
    }

    and this one works:
    .com_ticker {
    font: normal 12px Verdana;
    color: #ff0000;
    }

    very strange, normaly its only another way to define styles...

    buggy browser stuff

    THX a lot, again

  • #10
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    your style is correct except for this one:

    font-color: #ff0000;

    it should only be color: #ff0000;
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #11
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, i see..... my fault

    Again, Thx a lot!!!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •