Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 How to create label with vertical text?

Author  Topic 

Dragonist
Starting Member

9 Posts

Posted - 2004-07-30 : 00:12:18
Hi, I know this is quite simple but I can't find the solution on the web yet. Any helps will be much much appreaciated.

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-07-30 : 00:31:50
What sort of label??

Go to Top of Page

Dragonist
Starting Member

9 Posts

Posted - 2004-07-30 : 02:01:11
It is in the design field, using VB.Net, developing a Web Form and "drag" the label into the form.

I am new to this and still trying to figure it out...
Go to Top of Page

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-07-30 : 02:34:13
I could be wrong, but I don't think HTML supports vertical text. I tried it some time ago when I was developing some intranet reports and had to settle for custom gif's. You may be able to find a nice bit of JavaScript that supports it, though.
Go to Top of Page

Dragonist
Starting Member

9 Posts

Posted - 2004-07-30 : 03:18:48
But with CCS it can be! ^_^ I do not know if CCS and HTML are the same thing?

Look what I have found in the net just now, it do work
<HEAD>
.....
.....
<style>#verticaltext {
FILTER: flipv fliph; FONT-FAMILY: verdana, arial, helvetica, sans-serif; WRITING-MODE: tb-rl
}
</style>
....
....
</HEAD>

<BODY>
...
...
<BLOCKQUOTE>
<div id="verticaltext" style="Z-INDEX: 134; LEFT: 200px; POSITION: absolute; TOP: 56px">Testing</div>
</BLOCKQUOTE>
...
</BODY>

Hey thanx for trying ^_^
Go to Top of Page

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-07-30 : 09:01:36
HTML is the markup language. CCS is like using shorthand for formatting stuff.

If you get vertical text by using CCS then you've figured it out. I must admit I didn't know it could do it....

Go to Top of Page

Dragonist
Starting Member

9 Posts

Posted - 2004-08-02 : 00:06:21
Well, I had been long time din touch programming, but really enjoy the moment when u solve a solution. I have a lot of things to catch up I guess :))
Go to Top of Page
   

- Advertisement -