Attributes for <MARQUEE ...>
HSPACE = integer
VSPACE = integer

HSPACE sets the horizontal space to the left and right of the marquee. VSPACE sets the vertical space at the top and bottom of the marquee.

HSPACE has no effect unless you also use the HSPACE attribute. These three code examples show the default value of HSPACE (which is 0) and two larger values:

<MARQUEE WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!

<MARQUEE HSPACE=10 WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!

<MARQUEE HSPACE=50 WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!

which give us these marquees:

Howdy there!

Good to see ya!

Hi There!

Howdy there!

Good to see ya!

Hi There!

Howdy there!

Good to see ya!

Hi There!

VSPACE sets the space between the marquee and text before and after. These code examples show the default value of VSPACE (also 0) and two larger values:

Hello.
<MARQUEE BGCOLOR=YELLOW>
Howdy there!
</MARQUEE>
Hi There!

Hello.
<MARQUEE VSPACE=10 BGCOLOR=YELLOW>
Howdy there!
</MARQUEE>
Hi There!

Hello.
<MARQUEE VSPACE=50 BGCOLOR=YELLOW>
Howdy there!</MARQUEE>
Hi There!

which gives us these marquees:

Hello. Howdy there! Hi There!

Hello. Howdy there! Hi There!

Hello. Howdy there! Hi There!





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.