HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Sideways text
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
Yaakov



Joined: 07 Dec 2007
Posts: 9

PostPosted: Thu Dec 13, 2007 10:01 am     Sideways text Reply with quote

I am trying to show text under a bar graph. I would prefer to show it at a 45 degree angle like excel but I can only find to turn it at 90 degrees.

In IE it works like this
<head>

<style>
#verticaltext {writing-mode: tb-rl; filter: flipv fliph; font-size: 10px;}
</style>

</head>
<body>

<div align=left valign=center id="verticaltext">'some text'</div>
</body>

Does anybody know how to show text Sideways in Firefox or other browsers?
camoman666



Joined: 24 Jun 2006
Posts: 373
Location: Fort Walton Beach, FL, USA

PostPosted: Thu Dec 13, 2007 12:40 pm     Reply with quote

Well, I'm not sure this can even be done, but the "filter: fliph;" will only mirror the text. Does the text need to be dynamic? If it does not, I would suggest just making an image of it and rotating that.
Yaakov



Joined: 07 Dec 2007
Posts: 9

PostPosted: Thu Dec 13, 2007 1:11 pm     Reply with quote

camoman666 wrote:
Well, I'm not sure this can even be done, but the "filter: fliph;" will only mirror the text. Does the text need to be dynamic? If it does not, I would suggest just making an image of it and rotating that.


Yes I’m afraid it does. I have it working in IE I need to also get it working in the other browsers
camoman666



Joined: 24 Jun 2006
Posts: 373
Location: Fort Walton Beach, FL, USA

PostPosted: Thu Dec 13, 2007 1:15 pm     Reply with quote

Oh! I can't believe i didn't notice this! Filters don't work in FireFox.
Yaakov



Joined: 07 Dec 2007
Posts: 9

PostPosted: Thu Dec 13, 2007 1:49 pm     Reply with quote

camoman666 wrote:
Oh! I can't believe i didn't notice this! Filters don't work in FireFox.

I can’t believe nobody figured out how to do it yet.
camoman666



Joined: 24 Jun 2006
Posts: 373
Location: Fort Walton Beach, FL, USA

PostPosted: Thu Dec 13, 2007 1:55 pm     Reply with quote

Flash, use Macromedia Flash.
knittingguy



Joined: 20 Nov 2009
Posts: 1

PostPosted: Fri Nov 20, 2009 12:08 pm     Reply with quote

For Firefox, you can use
-moz-transform: rotate(-90deg);
explorer21



Joined: 01 Dec 2009
Posts: 3

PostPosted: Tue Dec 01, 2009 9:02 pm     Reply with quote

Thanks for the codes! Aja!


Blowflex Blaze ReviewWrinkle Cream Free Trial Offer
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial