Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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>"
vertText = vertText & Mid(theText, strCount, 1) & "<br>"
End If
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?

Wind is your friend
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 07:52 PM.

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