Add
tag between each character...
OR
.vertical
{
writing-mode: tb-rl;
filter: flipH flipV;
}
Here is the complete code.
<html>
<head>
<title>Vertical text</title>
<style>
.vertical
{
writing-mode: tb-rl;
filter: flipH flipV;
}
</style>
</head>
<body>
<div class="vertical">Test-1</div>
</body>
</html>
In the case of ASP.Net, you can give it like this.
In the document properties, you define the external css file. Then modify the label tag like this.
<asp:label id="abc" class="vertical" ........</asp:label>