Microsoft KB Archive/231297

= Marquee Control Interprets Slide Behavior as Scroll Behavior =

Article ID: 231297

Article Last Modified on 12/5/2003

-

APPLIES TO


 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.0 128-Bit Edition

-



This article was previously published under Q231297



SYMPTOMS
When you use Internet Explorer 4 to view a Hypertext Markup Language (HTML) page that uses the Marquee control with Slide behavior, Internet Explorer may treat it as Scroll behavior. The scrolling Marquee tag scrolls text across the screen.



CAUSE
Internet Explorer 4 interprets the Marquee behavior code incorrectly.



RESOLUTION
To work around this behavior in Internet Explorer 4, change the HTML code in the page as outlined below. In this example, the text "If Friends Were Flowers" should be sliding:   THIS IS A TEST.   If Friends Were Flowers  



STATUS
This problem has been corrected in Internet Explorer 5.



MORE INFORMATION
The Marquee control has three kinds of behavior: Slide, Scroll, and Alternate. If you do not specify the marquee behavior in your HTML code, the Marquee control uses the default behavior, which is scroll.

For example, you can specify these behaviors in your HTML code for Internet Explorer 5 viewing: <Marquee behavior="slide">If Friends Were Flowers (Slide)

<Marquee behavior="scroll">I'd Pick You! (Scroll)

<Marquee behavior="Alternate">Kitty's Homepage (Alternate)

<Marquee>Who is Kitty? Where is she from? (Default)

Keywords: kbenv kbprb KB231297

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.