Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I am developing styles for a particular page and i need revolving text on my page. Can someone please help.
Posted
Comments
Sergey Alexandrovich Kryukov 6-Jul-12 3:17am    
N * 90 degrees, or some other angles?
--SA
Sandeep Mewara 6-Jul-12 4:57am    
OP replied: It should go from left to right on the screen

try this code, this code will rotates text 90 degrees counterclockwise.
CSS
.rotate {

/* Safari */
-webkit-transform: rotate(-90deg);

/* Firefox */
-moz-transform: rotate(-90deg);

/* IE */
-ms-transform: rotate(-90deg);

/* Opera */
-o-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

}


best of luck.
 
Share this answer
 
If I understand your question, you need something like a marquee. In HTML5 the marquee element is deprecated. You can use JQuery for that. Plugins like EasySlider can help you achieve it.

You can get a tutorial of EasySlider over here[^].
 
Share this answer
 
Comments
Sandeep Mewara 6-Jul-12 4:58am    
Slider? Looks like OP needs a Rotater! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900