Vertical text in word

  • Thread starter Arie Zilberstein
  • Start date
A

Arie Zilberstein

Hi,

I am trying to generate a standard html table in which the cells text is
vertical.
Looks like the writing-mode attribute is pretty handy in that case.
Now I want to import my generated HTML file into Word.
Unfortunately the vertical text is not preserved.
Is there a solution to that issue ? any other attribute which is supported
by Word ? any other way to do it ?

Thanks,
Arie.
 
C

Cindy M.

Hi Arie,
I am trying to generate a standard html table in which the cells text is
vertical.
Looks like the writing-mode attribute is pretty handy in that case.
Now I want to import my generated HTML file into Word.
Unfortunately the vertical text is not preserved.
Is there a solution to that issue ? any other attribute which is supported
by Word ? any other way to do it ?
Can you be more specific about what you mean by "vertical text"?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
A

Arie Zilberstein

Hi,

Thanks for your answer. I already found the solution.

In HTML, you can write your text rotated 90 degrees (so it is "vertical
text") by putting your text in a section with the following CSS style
applied:

writing-mode:tb-rl

e.g., <div style="writing-mode:tb-rl">Vertical</div>

The same effect can be acheivied in Word by putting the text in a table
cell, and selecting Format->Text Direction from the menu.

However when you import the HTML file to Word, the text isn't rotated
anymore.Word (2003) doesn't recognize the the writing-mode style. What Word
does recognize is the

mso-rotate:-90;

style. This works and produces the vertical text I wanted :)

Regards,
Arie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top