tags:

views:

173

answers:

5
L
i
k
e

t
h
i
s

EDIT

Can you answer by a demo?

EDIT2

For those of you don't know what kind of effect I need,see here(this one only works in IE,which is basically what I want).

I don't need the text to rotate.Only vertical is neccesary!

EDIT3

effect image:alt text

+1  A: 

Nope, but a series of line breaks (<br> elements) should do the trick.

Noldorin
Maybe jquery / js could be used to inject a <br/> after each letter?
codeinthehole
+3  A: 

You could try to set a fixed, small width for the container. If you print your text interleaving spaces, then they should show one below the other.

Seb
I would say that is a simple yet effective solution. +1
Till
No,it's not.See my update.
Newbie
Ohh, I see. It'd be great if you updated your question with a screenshot of the desired effect (instead of a link), for those who don't want to use IE, or just don't have it!
Seb
ohh,that's done!
Newbie
+5  A: 

A solution for FireFox (and possibly other browsers) here: http://bytes.com/topic/javascript/answers/721811-solution-display-text-rotated-90-vertically-firefox-css

An IE-specific solution here:
http://www.ssi-developer.net/css/vertical-text.shtml

Robert Harvey
That's too complicated,is an easier one available?
Newbie
Well, you could do it the way you did it in your question.
Robert Harvey
If the question was to not just draw a text vertically but also have the letters rotated that way, then this would be the correct answer.
Till
I don't need it to rotate.
Newbie
A: 

The fastest route to the finish line will be to craft an image with the text laid out the way you want. Be sure to add an alt attribute to its img element wherever used, so search engines can index it properly.

By the way, that's an issue with the markup-based solutions: search engines may not match words in the label if their letters are separated by tags.

ewg
That certainly is the trivial solution. Not elegant, not nice, not flexible but does the job.
Till
+1  A: 

Check this out: http://snook.ca/archives/html%5Fand%5Fcss/css-text-rotation

Nimbuz
Does not work for Firefox 2.0 (2.0.0.17).
Loadmaster