Skip to content Skip to sidebar Skip to footer

Marquee Text Sliding To Center Of Div

I have the following marquee:
Text
The above code moves the text from lef

Solution 1:

would not advice you to use marquee but if you really want to, then you can do this to get your desired effect

<divid="tip"><divclass="stop"><marqueeloop="1"direction="right"behavior="slide">Text</marquee></div></div>

css

.stop{width:*your choice*;}

Solution 2:

All you need to type is in plain html

marquee loop="1" direction="right" behavior="slide">center Text /center /marquee

you do not need to know css and be sure to include center tags inbetween the marquee tags. have fun!!

Solution 3:

<divclass="name"><marqueebehavior="slide"direction="right"scrollamount="10">Sudhanshu raj</marquee></div>

/*This is use to set the marquee at particular position*/
CSS:-
.name {

    width: 53%;
}

Post a Comment for "Marquee Text Sliding To Center Of Div"