. FIREFOX nested-marquee bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 000baaa000
    New Member
    • Sep 2008
    • 5

    . FIREFOX nested-marquee bug

    The following HTML marquee code
    works better in Microsoft Internet Explorer,
    breaks (in more than one way) in Mozzila Firefox
    Code:
    <pre>------------------------------------------------- start HTML code ------------------------------
    
    <marquee>  
                        <marquee width=100% direction=up>
               <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 1</marquee> <br>
    <CENTER><marquee  width=60% BGCOLOR=BLUE STYLE="text-align:center">INNER  2 </marquee><br>
               <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 3</marquee><br>
                        </marquee>
    </marquee>
    
    <pre>
    
    
    
    
    
    <img src=http://geometrica.tripod.com/dantelle.png>
    
    
    
    
    this is the llllllllllllllllllllllllllllast line
    ---------------------------------------------- end HTML code ------------------------------
    Last edited by numberwhun; Oct 18 '08, 12:36 PM. Reason: Please use code tags!
  • David Laakso
    Recognized Expert Contributor
    • Aug 2008
    • 397

    #2
    Document content is HTML Proprietary. Validate the markup.
    Code:
    Warning: <marquee> is not approved by W3C; Warning: missing <!DOCTYPE> declaration; Warning: nested emphasis <marquee>; Warning: trimming empty <marquee>
    <marquee>
    Warning: <marquee> is not approved by W3C; Warning: inserting implicit <marquee>; Warning: trimming empty <marquee>
    <marquee width=100% direction=up>
    Warning: <marquee> is not approved by W3C; Warning: missing </center>; Warning: <marquee> attribute "bgcolor" has invalid value "ORANGE"
    <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 1</marquee> <br>
    Warning: <marquee> is not approved by W3C; 
    Warning: missing </center>
    <CENTER><marquee width=60% BGCOLOR=BLUE STYLE="text-align:center">INNER 2 </marquee><br>
    Warning: <marquee> is not approved by W3C; Warning: missing </center>; Warning: <marquee> attribute "bgcolor" has invalid value "ORANGE"
    <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 3</marquee><br>
    Warning: discarding unexpected </marquee>
    </marquee>
    Warning: discarding unexpected </marquee>
    </marquee>

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      Well, first of all, the marquee tag is not part of the HTML standard and never has been so I'm not surprised if something doesn't work. iirc, this was a Microsoft invention from the 90s.

      Comment

      • David Laakso
        Recognized Expert Contributor
        • Aug 2008
        • 397

        #4
        All versions of Internet Explorer need a doctype. The doctype they need for proprietary html "marquee" is:
        Code:
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
        Validate to that doctype. Once that is done, or as close to it as you are able to achieve, bring it back if the proprietary html "marquee" does not work (render as intended) in compliant browsers -- among them -- Opera, Safari, and Firefox. Better yet: Remember, not to forget, that this is the year of our Lord 2008-- not 1998. And that, perhaps, you could explore contemporary means to achieve your goal. Or could you?

        Comment

        • 000baaa000
          New Member
          • Sep 2008
          • 5

          #5
          http://www.w3.org/TR/css3-marquee/

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            First, you are trying to use html. What you linked to is CSS.
            Second, that is a Marquee module, not a marquee property, though there is a marquee-style.
            Third, that is still in draft form and I'm not sure which browsers support it. Opera does so I think Safari would, too. IE definitely will not.

            Comment

            Working...