Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text Direction 2

Status
Not open for further replies.

tcrosswell

IS-IT--Management
Oct 14, 2001
26
GB
does anyone know if it is possible to have text going from top-bottom? ie as if it has been turned 90 degrees, like the text you see on the side of a graph.

The usual way would be to create a gif and then rotate that but I am taking the name from a database so need to be able to do it on the fly.
Thanks, I hope someone can help me!

Tom


 
The only way I can think of to do that is insert <br> between each letter. If you're using a cgi program to fetch the data from the database that should be pretty easy to do. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Thanks I have sorted this now :) took me all night be got it working ok. cheerz anyone who looked

Top Cat
 
Good one Wullie!
Then just stick in a marquee tag!

É
 
Hi Cian , Hi Wullie,

Both of your ideas made me think to make a &quot;diagonal&quot; marquee, just for ... LOL

How about this:

<HTML>
<HEAD>
<style>
#divid {
position: absolute;
left: 100px;
width: 200px;
top: 40px;
height: 200px;
border: 2px solid;

}
#verticaltext3 {
left: 100px;
width: 200px;
top: 40px;
height: 200px;

writing-mode: tb-rl;
filter: flipv fliph;
}
</style>

</HEAD>
<BODY>

<div id=&quot;divid&quot;><marquee><div id=&quot;verticaltext3&quot;><marquee>marqee text</marquee></div></marquee></div>
</BODY>
</HTML>

Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Thanks everyone for posting, In fact I started off using a Matrix with filters but I did not realise that when you go to print it does not hold its position :( so I ended up doing it the way Wullie suggested :) thanks a lot!

anyone know how to make a button that will change the color of the background but when the page is printed the button and input box would not be visable?

Just another idea :)

Thanks everyone for your help

Tom
 
None of the above scripts will work in Netscape or Opera. Filters as of now is IE only. But I guess its ok to mess up your pages for 27% of the users by trying unnecessary gimmicks Ranjan
:: I earn because I learn ::
 
I am only using it locally anyway but then again who cares about Netscape, it is rubbish and makes web design a lot more difficult with it around. It is was not there then the web would improve a whole lot faster!

Tom
 
Let me diagree with you tcrosswell. I'm talking about your statements about Netscape. I'm not it's fan, but you have to be honest and objective. Netscape 4.x is really not a good one, but don't forget that it appeared in 1998, and I'm not sure that it's rival - IE4 - was better.
Also, Netscape 6 (based on Mozilla) has nothing in common with it's predecessor and is one of the best browsers available now.

The web would improve a whole lot faster if we stop telling nonsence and start creating cross-browser sites and scripts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top