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


Top 5 Contributors of the Month
david stephan

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>
<style>
.verticaltext {
writing-mode: tb-rl;
filter: flipV flipH;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div class="verticaltextshow">Hi, This is Ashutosh Jha</div>
</div>
</form>
</body>
</html>

     

Further Readings:

Responses

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