.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Code Snippets >> Design Patterns >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

How to show text vertically using HTML and css

Posted By:Ashutosh Jha       Posted Date: August 31, 2014    Points: 40    Category: Design Patterns    URL: http://www.dotnetspark.com  

Here i will show you how can one show any text vertically.

For this use the below css which will help in showing any text vertically-

.verticaltextshow {
writing-mode: tb-rl;
filter: flipV flipH;
and the overall code will be like below-

For Example : 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
.verticaltext {
writing-mode: tb-rl;
filter: flipV flipH;
<form id="form1" runat="server">
<div class="verticaltextshow">Hi, This is Ashutosh Jha</div>


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend