Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Vertical content?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Etymon
Advanced Member

United States
2385 Posts

Posted - 30 October 2007 :  11:40:40  Show Profile  Visit Etymon's Homepage  Reply with Quote
My searches have not yielded the results I am looking for.

I want to split a subject line to read vertically instead of horizontally.

Does anyone know how to do this?

Thanks all!

Etymon
<

JJenson
Advanced Member

USA
2121 Posts

Posted - 30 October 2007 :  12:48:56  Show Profile  Visit JJenson's Homepage  Reply with Quote
Something like this?

http://www.ssi-developer.net/css/vertical-text.shtml<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 31 October 2007 :  07:14:49  Show Profile  Visit Etymon's Homepage  Reply with Quote
quote:
Originally posted by JJenson

Something like this?

http://www.ssi-developer.net/css/vertical-text.shtml



Thanks for the reply, Jeff.

That's along the lines of what I wanted, except I was looking for this:

V
e
r
t
i
c
a
l


Here's an additional reference that goes into great detail about the possible future of that aspect of CSS (http://fantasai.inkedblade.net/style/discuss/vertical-text)

<

Edited by - Etymon on 31 October 2007 07:15:50
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 31 October 2007 :  07:39:55  Show Profile  Reply with Quote
Can you not just add a line break after each character?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 31 October 2007 :  08:04:50  Show Profile  Reply with Quote
i use this in a numbers pool script I have. I changed the variable names to make it a little more clear.
Dim strToVert       'Text to turn vertical
Dim iCnt            'Count the letters
Dim strVert         'Resulting vertical text
Dim i               ' The counter

strToVert = "Vertical"
iCnt = Len(strToVert)
strVert = ""
for i = 1 to iCnt
        strVert = strVert & " " & Mid(strToVert,i,1) & " "
        if i < iCnt then strVert = strVert & "<br />"
next

Response.Write strVert


<edit> Removed some unneccesary breaks<

    _-/Cripto9t\-_

Edited by - cripto9t on 31 October 2007 08:09:29
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 31 October 2007 :  08:27:21  Show Profile  Visit Etymon's Homepage  Reply with Quote
Thanks Shaggy! I was able to do that for static text, but I also needed the vertical text to work with variables.

Thanks cripto9t! That's cleaner than what I came up with! My version does same thing, but yours is much quieter.

The following made the characters align straighter for my needs:


'#### BEGIN Vertical Text MOD by cripto9t ####'
Dim strToVert       'Text to turn vertical
Dim iCnt            'Count the letters
Dim strVert         'Resulting vertical text
Dim i               'The counter

strToVert = "Vertical"
iCnt = Len(strToVert)
strVert = ""
for i = 1 to iCnt
        strVert = strVert & Mid(strToVert,i,1)
        if i < iCnt then strVert = strVert & "<br />"
next

Response.Write strVert
'#### END Vertical Text MOD by cripto9t ####'

<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 31 October 2007 :  11:22:48  Show Profile  Reply with Quote
Glad I could help . I use it in a table cell that spans multiple rows, so...
<td style="text-align;center" rowspan="10">

...centers it just fine. I think I added the spaces to make the cell wider.<

    _-/Cripto9t\-_
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 31 October 2007 :  12:28:59  Show Profile  Visit Etymon's Homepage  Reply with Quote
quote:
Originally posted by cripto9t

Glad I could help . I use it in a table cell that spans multiple rows, so...
<td style="text-align;center" rowspan="10">

...centers it just fine. I think I added the spaces to make the cell wider.



Ah! That makes sense then.

My table data was only about 25 pixels wide.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07