 |
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
|
|
|

January 18th, 2006, 06:33 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

January 18th, 2006, 07:04 PM
|
Registered User
|
|
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

January 18th, 2006, 09:02 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
Strange - I can print yours, not sure what to say...
Does your print preview reflect what gets printed
Wind is your friend
Matt
|

January 19th, 2006, 03:13 PM
|
Registered User
|
|
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

January 19th, 2006, 07:30 PM
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
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
|

April 7th, 2006, 03:52 PM
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

January 30th, 2008, 05:17 PM
|
Registered User
|
|
Join Date: Jan 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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>
|

September 19th, 2008, 02:30 PM
|
Registered User
|
|
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |