How can I make an auto scrolling banner?

Asked By 20 points N/A Posted on -
qa-featured

Hi,

I have a website. I Have made it with HTML.

I want to make auto scrolling banner in it.

How can I make it easily?

Please, tell me everything successively.

Thanks

SHARE
Best Answer by Perry Deborah
Answered By 0 points N/A #136043

How can I make an auto scrolling banner?

qa-featured

Hi,

You can achieve it using css.

Place the scrollable content in a div and set its  z-index to 1000 and position – Fixed .

Ex:

———-html part——————-

<div id="divFloatingBanner" class="floatBanner">

                <p> Your floating Text on the auto floating banner </p>

</div>

—————- css part —————-

.floatBanner {

                        top: 0px;

                        position:fixed;

                        z-index: 1000;

                       }

let me know in case of any concerns.

Thanks

Best Answer
Best Answer
Answered By 0 points N/A #136044

How can I make an auto scrolling banner?

qa-featured

Hello!

To build an infinite scrolling photo banner with HTML and CSS, I think you should go the website.

On that site, you can get many ways to build an infinite scrolling photo banner with HTML and CSS. You can get from there actual codes for HTML and CSS. Actually, I don’t know which one will be the easiest method for you.

That’s why I provided you the website link.

Best of luck.

Related Questions