Wrox Programmer Forums
|
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
 
Old January 18th, 2006, 06:33 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Larkin

Interesting you are correct. It doesnt print inside a <div> tag however does inside a <td>:

 <div class="vertical">inside div tag</div>
 <bR><br>
 <table>
  <tr>
   <td class="vertical">inside table</td>
  </tr>
 </table>

FYI : The <div> tag text shows on the print preview but does not print

Wind is your friend
Matt
 
Old January 18th, 2006, 07:04 PM
Registered User
 
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Matt,

Thanks for your quick reply. Didn't know if I would get a reply since the discussion was started in 2004. Anyway, I am using <TD> rather than <div>. Specifically:

<HTML>
  <HEAD>
    <STYLE type="text/css">.verticaltext { FONT-SIZE: 10px;
    FILTER: flipv fliph; FONT-FAMILY: veranda, Arial, helvetica,
    sans-serif; WRITING-MODE: tb-rl }
</STYLE>
</HEAD>
<BODY>
<FORM>
    <TABLE id="tblHeaders" style="Z-INDEX: 102; ...>
      <TR>
         <TD class="verticaltext"
            style="WIDTH: 20px">Text to Show</TD>
    </TR>
     </TABLE>
</FORM>
</BODY>
</HTML>

I still can't print correctly. The vertical text is flipped upside down.
 
Old January 18th, 2006, 09:02 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Strange - I can print yours, not sure what to say...

Does your print preview reflect what gets printed

Wind is your friend
Matt
 
Old January 19th, 2006, 03:13 PM
Registered User
 
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Matt,

Print preview does reflect what is printed when the vertical text is in a table; but I found that it does NOT reflect what is printed when it is contained in a label, rather than a table. I am printing to an HP Laserjet 8000 DN, but I also tried sending it to a Cannon printer. What are you printing with?
 
Old January 19th, 2006, 07:30 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

HP - Its not the printer, what browser and version are you using?

;;;style="Z-INDEX: 102;
why do you have a z-index inside a <table> tag

;;;but I found that it does NOT reflect what is printed when it is contained in a label
What is a label?

Any how I can print yours. Yours is inside a <TD>

Wind is your friend
Matt
 
Old April 7th, 2006, 03:52 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes,I test it, it look fine, but when you preview it, it looks exactly like you just use "WRITING-MODE: tb-rl", filter doesn't work.

Thanks!

 
Old January 30th, 2008, 05:17 PM
Registered User
 
Join Date: Jan 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem with IE6 and IE7 I have a lot of information on my page and when it finally reaches this point it jumps to the next page... strange... however if i remove the style tag it prints fine except that the text isn't vertical the way i want it.

<span style="writing-mode:tb-rl" >Expecting this to print properly</span>
 
Old September 19th, 2008, 02:30 PM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

just a note:

I spent all day trying to put some vertical text overtop of a section of a table I've been working on...had similar problems with printing. (showed up in print preview but not on paper!)

In the end, I took out the filter property and it finally printed. Granted the text read top to bottom instead of bottom to top like i wanted, but its time to move on to something else...

Did not print:
<div style="writing-mode: tb-rl; filter: flipv fliph"> Vertical text </div>

DID print:
<div style="writing-mode: tb-rl">Vertical Text </div>

--Rustabust






Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Text Header in MSFLEXGRID Andraw Beginning VB 6 0 October 16th, 2008 10:08 PM
Vertical Text - How to stop wrap? mat41 CSS Cascading Style Sheets 26 December 19th, 2006 08:05 AM
how does one get vertical text in HTML? lcsgeek Classic ASP Professional 3 September 9th, 2004 08:47 PM
Create dynamic label in vb.net snowydust VB How-To 1 July 24th, 2004 05:32 AM
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.