Vertical Labels/Text

M

Michelle

I'm trying to add a vertical label to a form. However I want the text to go
bottom-to-top (tilt head to left). The standard vertical label control
displays the text top-to-bottom (tilt head to right).

I've tried adding the style (found at http://www.w3.org/TR/xsl/sliceA.html):
writing-mode: bt-lr;

Help would be appreciated.
 
M

Michelle

In IE I can create a style as follows:
<style type="text/css">
..verticaltext-ex1 {
writing-mode: tb-rl;
filter: flipv fliph;
}
..verticaltext-ex2 {
writing-mode: tb-rl;
filter: flipv flipv;
height:40px;
}
</style>

where verticaltext-ex1 generates the desired vertical text effect I'm
looking for in IE, and verticaltext-ex2 emulates what is seen in InfoPath by
using the Vertical Label control.

If I use the same style in the XSL for the view both styles are rendered the
same way as the InfoPath Vertical Label control.

If InfoPath is supposed to act the same as IE, then why the discrepancy?

I'll continue looking for a workaround (such as the text-to-graphic
conversion Greg mentioned). Unfortunately this is something I *must* have
working for a project I'm currently working on.
 
P

Perry Faulkner

Hi Michelle,

Maybe you could drop the label in as a jpeg, to get
around the problem!?

Perry
-----Original Message-----
In IE I can create a style as follows:
<style type="text/css">
..verticaltext-ex1 {
writing-mode: tb-rl;
filter: flipv fliph;
}
..verticaltext-ex2 {
writing-mode: tb-rl;
filter: flipv flipv;
height:40px;
}
</style>

where verticaltext-ex1 generates the desired vertical text effect I'm
looking for in IE, and verticaltext-ex2 emulates what is seen in InfoPath by
using the Vertical Label control.

If I use the same style in the XSL for the view both styles are rendered the
same way as the InfoPath Vertical Label control.

If InfoPath is supposed to act the same as IE, then why the discrepancy?

I'll continue looking for a workaround (such as the text- to-graphic
conversion Greg mentioned). Unfortunately this is something I *must* have
working for a project I'm currently working on.
support. It is not a full-blown "vertical text" feature.
It is just what is available in Internet Explorer --
which does the same as what you see in InfoPath.it up) which will dynamically convert text into a graphic
and display it on the page in the vertical format you
desire, and I believe (you'll need to verify it) that
this is supported within InfoPath by some hand editing.
--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



"Michelle" <[email protected]> wrote
in message (e-mail address removed)...
 

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