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:
<HTML> <HEAD> <TITLE>THIS IS A TEST.</TITLE> </HEAD> <BODY> <MARQUEE behavior="slide" loop=1>If Friends Were Flowers</MARQUEE> </BODY> </HTML>
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> <Marquee behavior="scroll">I'd Pick You! (Scroll)</marquee> <Marquee behavior="Alternate">Kitty's Homepage (Alternate)</marquee> <Marquee>Who is Kitty? Where is she from? (Default)</marquee>
Keywords: kbenv kbprb KB231297