Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 4th, 2010, 08:56 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default Vertical text function style behavior

Good day - I have a very weird issue. My objective to to get vertical text displaying with the string starting from the bottom up. This style:

.vertical { writing-mode: tb-rl; filter: flipV flipH; font-size: 14px;font-family: Arial, Verdana; text-align: left; font-weight: strong; white-space:nowrap;}

works fine on screen and the print preview also. however the printing is very odd. Some strings appear as they should but several appear like they have been italicized and are illegible.

NOTE - I did have this intermitant issue which has been posted in the CSS section - Vertical Text Style Not Printing

So as a work around I done this:

Function vertText(theText)
Dim strCount
theText = theText & "" ' fix null issues
For strCount = 1 to Len(theText)
If Mid(theText, strCount, 1) = " " Then
vertText = vertText & Mid(theText, strCount, 1) & "&nbsp;<br>"
Else
vertText = vertText & Mid(theText, strCount, 1) & "<br>"
End If
Next
End Function

A bit of a hack which as you could imagine looks a little odd. The word starts from the top down which is not ideal. hyphens end up looking like minus signs, the sapcing between the letters is a bit much and the alignment of letters is weird.

Any suggestions would be great?

TYIA
__________________
Wind is your friend
Matt


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Text Style Not Printing mat41 CSS Cascading Style Sheets 1 December 6th, 2011 10:42 PM
Vertical Text Header in MSFLEXGRID Andraw Beginning VB 6 0 October 16th, 2008 10:08 PM
How to create label with vertical text? Dragonist Classic ASP Basics 17 September 19th, 2008 02:30 PM
how does one get vertical text in HTML? lcsgeek Classic ASP Professional 3 September 9th, 2004 08:47 PM
ever seen vertical text on a web site? lcsgeek Classic ASP Basics 5 September 23rd, 2003 12:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.