Rotate text 90 degrees?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
enricosavazzi
Propeller Head
Posts: 58
Joined: Wed Apr 09, 2008 2:10 am

Rotate text 90 degrees?

Post by enricosavazzi »

Is there any way to rotate text 90 degrees (i.e., so that lines are vertical) in a table cell?
I am aware that I could use a bitmap picture of the rotated text, but I would prefer to do it with "real" (editable) text instead.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Rotate text 90 degrees?

Post by RamonS »

All I could find are IE-only hacks. Plain XHTML appears not to be able to do that. To be as compatible as possible use an image.....or flip the monitor on its side.
Richard Ferrell
Propellus Maximus
Posts: 840
Joined: Mon May 01, 2006 10:11 am
Location: Inside California

Re: Rotate text 90 degrees?

Post by Richard Ferrell »

Flare doesn't have the ability to rotate text 90 degrees and most browsers don't support it either.
Richard Ferrell

Certified Madcap Trainer
Image
milewski
Propeller Head
Posts: 16
Joined: Tue Nov 25, 2008 5:01 am

Re: Rotate text 90 degrees?

Post by milewski »

You can try this style for those cells you would like rotated:

Code: Select all

td.VertText
     {
        writing-mode: tb-rl;
        filter: flipv fliph;
        vertical-align: middle;
     }
I have not fully tested this in FireFox, Opera, or Chrome. If anyone does, please post your findings.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Rotate text 90 degrees?

Post by NorthEast »

Works in IE6&7 for me, but not Firefox (v3).
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Rotate text 90 degrees?

Post by RamonS »

Yea, there are tons of nifty IE-only hacks, but I wouldn't even propose any of them since they are IE-only. That would cover only 2/3rd of the potential browsers in use and in some places even way less.

One way would be to not turn everything, but write
t
o
p

t
o

b
o
t
t
o
m
.
enricosavazzi
Propeller Head
Posts: 58
Joined: Wed Apr 09, 2008 2:10 am

Re: Rotate text 90 degrees?

Post by enricosavazzi »

Richard Ferrell wrote:Flare doesn't have the ability to rotate text 90 degrees and most browsers don't support it either.
I was actually thinking of Microsoft Word output, since this is easily done in Word.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Rotate text 90 degrees?

Post by RamonS »

I see your point, but you need to keep in mind that Word isn't the output Flare is primarily made for. But since it does output Word docs one could reasonably expect such features to be supported. Feel free to ask for it here: https://www.madcapsoftware.com/bugs/submit.aspx
Post Reply