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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical Text 1

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Guys,

I have searched the forum looking for an answer to my problem but with no joy. I want to be able to have vertical text in a table cell. i.e. the word testing would appear in the cell as below:

t
e
s
t
i
n
g

or some variation of that. Mighty :)
 
do you think will do the job! :)

<td>T<br>E<br>S<br>T<br>I<br>N<br>G</td> ....:::::.... xxLargeWASP ....:::::....
 
Code:
<script language=&quot;javascript&quot; type=&quot;text/javascript&quot;>
<!--
var words = &quot;some words&quot;;
var count = 0;
while (count < words.length) {
 document.write(words.charAt(count) + '<br>');
 count++;
}
-->
</script>
---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Hi mate,

The following will actually show the text at a 90 degree angle but it only works for IE...
Code:
<html>
<head>
<style>
#verticaltext {
position: absolute;
left: 200px;
top: 200px;
writing-mode: tb-rl;
filter: flipv fliph;
}
</style>
</head>
<body>
<div id=&quot;verticaltext&quot;>This is Vertical Text</div>
</body>
</html>
Hope this helps Wullie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top