You are here: Reference > HTML > attributes > scrollAmount (marquee)

scrollAmount attribute (marquee)

Browser support:
Sets the width in pixels between successive displays of the scrolling text in a marquee.
JavaScript page for this attribute: scrollAmount. You can find other example(s) there.

Possible values:

Integer that sets the amount of pixels by which themarquee jumps. The default is 6 (pixels). If the value is a negative number, the default (6) will be set.
Default: 6.

Example HTML code 1:

This example illustrates the use of the scrollAmount attribute:
<marquee style="width:200px;" scrollamount="10">scrollamount = 10</marquee>
<br />
<marquee style="width:200px;" scrollamount="20">scrollamount = 20</marquee>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content