Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » text align vertical
text align vertical [message #1059969] Wed, 22 May 2013 11:52 Go to next message
roger said is currently offline roger saidFriend
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 13:13 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
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 09:17 Go to previous messageGo to next message
roger said is currently offline roger saidFriend
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 16:35 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Re: text align vertical [message #1071390 is a reply to message #1071248] Sat, 20 July 2013 01:28 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Previous Topic:Is it possible to disable stack traces being displayed on application pages
Next Topic:Null parameter
Goto Forum:
  


Current Time: Wed Apr 24 14:26:19 GMT 2024

Powered by FUDForum. Page generated in 0.04661 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top