HTML CSS Reference/HTML Attributes Reference/scrollamount

Материал из Web эксперт
Перейти к: навигация, поиск

"scrollamount" Example

    
<HTML>
<head><Title>Example For scrollamount</Title></head>
<BODY>
<marquee behavior="slide" scrollamount="15">
  This marquee has a scrollamount value of 15.
</marquee>
</BODY>
</HTML>



scrollamount is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<marquee>                                                     |
+----------------+--------------------------------------------------------------+



"scrollamount" Syntax and Note

Note:
    
<marquee> element"s move is made by display, hide, and redisplay. 
This attribute sets how many pixels the text is displaced between hidden and reappear.
Default value is 6.
    
Syntax:
    
<marquee scrollamount="value"> . . . </marquee>