I want to include vertical border text for my page <div>so that the content scrolls automatically.
I found useful code:
<marquee behavior="scroll" direction="up" height="250" scrollamount="2" scrolldelay="10" onmouseover="this.stop()" onmouseout="this.start()">
content goes here<br>
content goes here<br>
content goes here<br>
content goes here
</marquee>
But it adds a space after the content. The contents of re only appear after scrolling through all the text (something like a restart). How can I avoid (or remove) this empty space?
I found here in the stack overflow and something is noted there cloneNode(). I do not know how to implement this.
* Note: the Height attribute does not matter. he has the same parent height<div>
source
share