Annabella's HTML Help ....
EZ PRINT!
MARQUEE
For the full version of this page, go to
http://www.annabella.net/marquee.html
This page is for to all the Internet Explorer users out there!!!... because the
<marquee> tag is not recognised by Netscape!
It is a 'nifty' feature to add to your page, but you must remember to check just how
your page will look on a Netscape browser. If you are viewing this page with Netscape... you will NOT see the marquees moving at all... you
will only see stationary text!
BASIC MARQUEE
<marquee>Then your text</marquee>
This is the basic tag for a marquee. It will scroll across the page from right to left
continuously. You must always close with </marquee>.
COLOR
<marquee bgcolor="#xxxxxx">Then your text</marquee>
This sets a background color for your marquee. The #xxxxxx is the hexadecimal number for your
color. For some hex color codes, go to Color Palette at
http://www.annabella.net/netscape.html.
WIDTH
<marquee width=n>Then your text</marquee>
This sets the width of the marquee. n is expressed in pixels or % of page width.
BEHAVIOR
NOTE: Beware of the spelling! If you use behaviour instead of behavior,
then it will not work.
- <marquee behavior="alternate">
Then your text</marquee>
The text will bounce backward and forwards continuously.
- <marquee behavior="slide">Then your text</marquee>
With IE3.0 versions, the marquee will scroll across once and stop at the left side. With IE4.0,
the marquee will not stop, but will jump across and scroll again, instead of scrolling off the
page as the basic marquee does.
DIRECTION
<marquee direction="right">Then your text</marquee>
The text will scroll from left to right.
If you do not specify the direction, it will default to scrolling from right to left.
HTML TAGS
HTML tags do not work between the marquee tags with IE3.0 versions, but they do
with IE4.0.
Therefore, if you wish to change the font size color or face of your marquee, you must
specify the font outside of the marquee tag. If you try to use it between the tags...
the font changes might not work, depending on which version of IE is being used to view your
page!
<marquee>
<font face="Comic Sans MS" size=5color="#CC33FF">
The font MIGHT NOT change. </font>
</marquee>
<font face="Comic Sans MS" size=5color="#CC33FF">
<marquee>The font changes WILL work!!! </marquee>
</font>
If you want to have several lines scrolling across your page, instead of one long line, then you
will need to put each line in its own marquee tags. The <p> and <br>
tags might not work between the marquee tags. Be aware that the lines will scroll across
the page at slightly different speeds unless they are the exact same length.
<marquee>Here is the first line.........<br>
And here is the next.<br>
This third line is the last one! The line breaks MIGHT NOT work.</marquee>
<marquee>Here is the first line.........</marquee>
<marquee>And here is the next.</marquee>
<marquee>This third line is the last one! The line breaks WILL work.
</marquee>
SCROLLDELAY
<marquee scrolldelay=n>Then your text</marquee>
This is supposed to set the number of milliseconds between each scroll of the marquee, where
n is the number required.
SCROLLAMOUNT
<marquee scrollamount=n>Then your text</marquee>
The scrollamount is supposed to set the space, in pixels, between successive scrolls of the
marquee, where n is the number of pixels required. It also seems to affect the speed of
the marquee as well. The higher the scrollamount number, the faster the marquee!!
LOOP
<marquee loop=n>Then your text</marquee>
This sets the number of times that the marquee will loop, or scroll. If you do not specify,
it will loop continuously.
COMBINING BLINK AND MARQUEE
Blink works in Netscape but not Internet Explorer.
Marquee works in
Internet Explorer but not Netscape.
So.....combine the two tags so that your text will do something in either browser!
<center><blink><marquee>Using marquee and blink tags together!
</marquee></blink></center>
www.annabella.net
© COPYRIGHT 1997-2001
A. RAMSDEN
All Rights Reserved