Question

I need to display three lines of text in a DIV which has room for only one line.

I want the DIV to roll through the three lines and delay on each line for a few seconds.

Is this possible?

Was it helpful?

Solution

Use JavaScript to animate as described here, for instance. There is also marquee HTML element and it is possible with CSS but these alternatives are less consistently available between various browsers.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top