Marquee Text Sliding To Center Of Div
I have the following marquee: 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
<div id="tip">
<div class="stop">
<marquee loop="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:
<div class="name"><marquee behavior="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"