Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » text align vertical
text align vertical [message #1059969] Wed, 22 May 2013 07:52 Go to next message
roger said is currently offline roger said
Messages: 3
Registered: May 2013
Junior Member
hi can somebody help me in this.i try to use some codes for rotating my text to vertical.i tried it on IE and MOZ and it worked.but when using the code in BIRT in a textbox the text stays as it is. thx.

this is the code: <style type = "text/css">
span{
position : absolute;
left: 40%;
-webkit-transform: rotate(89deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
writing-mode: rl-tb;
}

</style>

<span> my text </span>
Re: text align vertical [message #1059992 is a reply to message #1059969] Wed, 22 May 2013 09:13 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3157
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/22/2013 06:35 AM, roger said wrote:
> hi can somebody help me in this.i try to use some codes for rotating my
> text to vertical.i tried it on IE and MOZ and it worked.but when using
> the code in BIRT in a textbox the text stays as it is. thx.
>
> this is the code: <style type = "text/css">
> span{
> position : absolute;
> left: 40%;
> -webkit-transform: rotate(89deg);
> -moz-transform: rotate(90deg);
> -o-transform: rotate(90deg);
> writing-mode: rl-tb; }
>
> </style>
> <span> my text </span>
>

There is a dedicated BIRT forum at eclipse.org. You'll get more help if
you ask there.
Re: text align vertical [message #1070119 is a reply to message #1059992] Wed, 17 July 2013 05:17 Go to previous messageGo to next message
roger said is currently offline roger said
Messages: 3
Registered: May 2013
Junior Member
Could you please send me the URL.
Thank you
Re: text align vertical [message #1071248 is a reply to message #1070119] Fri, 19 July 2013 12:35 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

This is the dedicated BIRT forum, so you're in the right place. Let me try this out and let you know.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: text align vertical [message #1071390 is a reply to message #1071248] Fri, 19 July 2013 21:28 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

I was able to get the style to work by putting the style inline in the text box, like:

<span style="...">My Text</span>


The other way I was able to do it was to add this style to the styles.css in the viewer/birt/webcontent/birt/styles/ directory:

.rotated
{
	position:absolute;
	left:40%;
	-webkit-transform:rotate(89deg);
	-moz-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	writing-mode:rl-tb; 
}


Then, I only had to put this in my text box:

<span class="rotated">my text</span>


Hopefully one of these works for you.


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Is it possible to disable stack traces being displayed on application pages
Next Topic:Null parameter
Goto Forum:
  


Current Time: Fri Aug 29 20:38:56 EDT 2014

Powered by FUDForum. Page generated in 0.02741 seconds